IT. Expert System.

Java Standard Edition (SE)

Point2D.Double


java.awt.geom

Class Point2D.Double

    • Field Detail

      • x

        public double x
        The X coordinate of this Point2D.
        Since:
        1.2
      • y

        public double y
        The Y coordinate of this Point2D.
        Since:
        1.2
    • Constructor Detail

      • Double

        public Double()
        Constructs and initializes a Point2D with coordinates (0, 0).
        Since:
        1.2
      • Double

        public Double(double x,
                      double y)
        Constructs and initializes a Point2D with the specified coordinates.
        Parameters:
        x - the X coordinate of the newly constructed Point2D
        y - the Y coordinate of the newly constructed Point2D
        Since:
        1.2
    • Method Detail

      • getX

        public double getX()
        Returns the X coordinate of this Point2D in double precision.
        Specified by:
        getX in class Point2D
        Returns:
        the X coordinate of this Point2D.
        Since:
        1.2
      • getY

        public double getY()
        Returns the Y coordinate of this Point2D in double precision.
        Specified by:
        getY in class Point2D
        Returns:
        the Y coordinate of this Point2D.
        Since:
        1.2
      • setLocation

        public void setLocation(double x,
                                double y)
        Sets the location of this Point2D to the specified double coordinates.
        Specified by:
        setLocation in class Point2D
        Parameters:
        x - the new X coordinate of this Point2D
        y - the new Y coordinate of this Point2D
        Since:
        1.2
      • toString

        public String toString()
        Returns a String that represents the value of this Point2D.
        Overrides:
        toString in class Object
        Returns:
        a string representation of this Point2D.
        Since:
        1.2


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 90 / 158871975. Delta: 0.04426 с