Package com.myscript.iink.graphics
Class Point
- java.lang.Object
-
- com.myscript.iink.graphics.Point
-
public class Point extends java.lang.ObjectRepresents a point on the 2D plane.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(@Nullable java.lang.Object obj)inthashCode()@NotNull java.lang.StringtoString()
-
-
-
Constructor Detail
-
Point
public Point(float x, float y)Constructor.- Parameters:
x- the x coordinate of the point.y- the y coordinate of the point.
-
Point
public Point(@NotNull @NotNull Point other)Copy constructor.- Parameters:
other- copied object.
-
Point
public Point()
Default constructor.
-
-
Method Detail
-
equals
public boolean equals(@Nullable @Nullable java.lang.Object obj)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-