public final class MIQuad
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
MIPoint |
bottomLeft
The bottom-left vertex
|
MIPoint |
bottomRight
The bottom-right vertex
|
MIPoint |
topLeft
The top-left vertex
|
MIPoint |
topRight
The top-right vertex
|
| Constructor and Description |
|---|
MIQuad()
A default constructor
|
MIQuad(MIPoint topLeft,
MIPoint topRight,
MIPoint bottomLeft,
MIPoint bottomRight)
Creates the
MIQuad object given vertexes |
MIQuad(MIQuad other)
Creates a copy of the
MIQuad object |
MIQuad(android.graphics.RectF rect)
Creates the
MIQuad object from the RectF object |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object)
Indicates whether some other object is "equal to" the
MIQuad object |
int |
hashCode()
Returns a hash code value for the object.
|
public final MIPoint topLeft
public final MIPoint topRight
public final MIPoint bottomLeft
public final MIPoint bottomRight
public MIQuad()
public MIQuad(MIQuad other)
MIQuad objectother - - the MIQuad objectpublic MIQuad(MIPoint topLeft, MIPoint topRight, MIPoint bottomLeft, MIPoint bottomRight)
MIQuad object given vertexestopLeft - - The top-left vertextopRight - - The top-right vertexbottomLeft - - The bottom-left vertexbottomRight - - The bottom-right vertexpublic MIQuad(android.graphics.RectF rect)
MIQuad object from the RectF objectrect - - the RectF objectpublic boolean equals(java.lang.Object object)
MIQuad 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