Packages

 

com.aspose.cad.fileformats.cad.cadobjects.hatch

Class Point2D

  • java.lang.Object
    • com.aspose.ms.System.ValueType<T>
      • com.aspose.ms.lang.Struct<Point2D>
        • com.aspose.cad.fileformats.cad.cadobjects.hatch.Point2D


  • public class Point2D
    extends com.aspose.ms.lang.Struct<Point2D>

    The 2D point.

    • Constructor Detail

      • Point2D

        public Point2D()
      • Point2D

        public Point2D(double x,
                       double y)

        Initializes a new instance of the Point2D class.

        Parameters:
        x - The x ordinate.
        y - The y ordinate.
    • Method Detail

      • getX

        public final double getX()

        Gets or sets the x.

      • setX

        public final void setX(double value)

        Gets or sets the x.

      • getY

        public final double getY()

        Gets or sets the y.

      • setY

        public final void setY(double value)

        Gets or sets the y.

      • CloneTo

        public void CloneTo(Point2D that)
        Specified by:
        CloneTo in class com.aspose.ms.System.ValueType<Point2D>
      • Clone

        public Point2D Clone()
        Specified by:
        Clone in class com.aspose.ms.System.ValueType<Point2D>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • isEquals

        public static boolean isEquals(Point2D obj1,
                                       Point2D obj2)