public final class MIPoint
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
float |
x
The X-coordinate of a point in pixels
|
float |
y
The Y-coordinate of a point in pixels
|
| Constructor and Description |
|---|
MIPoint()
A default constructor
|
MIPoint(float x,
float y)
Creates the
MIPoint object given the X- and Y-axis coordinate |
MIPoint(MIPoint other)
Creates a copy of the
MIPoint object |
MIPoint(android.graphics.PointF point)
Creates the
MIPoint object from the PointF object |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object)
Indicates whether some other object is "equal to" the
MIPoint object |
int |
hashCode()
Returns a hash code value for the object.
|
android.graphics.PointF |
toPointF()
Converts point into the
PointF object |
public float x
public float y
public MIPoint()
public MIPoint(MIPoint other)
MIPoint objectother - - The MIPoint objectpublic MIPoint(float x,
float y)
MIPoint object given the X- and Y-axis coordinatex - - the X-axis coordinatey - - the Y-axis coordinatepublic MIPoint(android.graphics.PointF point)
MIPoint object from the PointF objectpoint - - the PointF objectpublic android.graphics.PointF toPointF()
PointF objectPointF representation of the pointpublic boolean equals(java.lang.Object object)
MIPoint objectequals in class java.lang.Objectobject - - the reference object with which to comparetrue if this object is the same as the object argument; false otherwise.public int hashCode()
hashCode in class java.lang.Object