Package com.myscript.iink.graphics
Class Point
- java.lang.Object
-
- com.myscript.iink.graphics.Point
-
public class Point extends java.lang.Object
Represents a point on the 2D plane.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(@Nullable java.lang.Object obj)
int
hashCode()
@NotNull java.lang.String
toString()
-
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-