ObjectWithBounds
Contents
[
Hide
]Inheritance: java.lang.Object
public abstract class ObjectWithBounds
The object having bounds.
Constructors
Constructor | Description |
---|---|
ObjectWithBounds() |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getBounds() | Gets the object’s bounds. |
getBounds(Matrix matrix) | Gets the object’s bounds. |
getBounds(Matrix matrix, Pen pen) | Gets the object’s bounds. |
getClass() | |
hashCode() | |
notify() | |
notifyAll() | |
toString() | |
transform(Matrix transform) | Applies the specified transformation to the shape. |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
ObjectWithBounds()
public ObjectWithBounds()
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getBounds()
public abstract RectangleF getBounds()
Gets the object’s bounds.
Returns: RectangleF - The object’s bounds.
getBounds(Matrix matrix)
public abstract RectangleF getBounds(Matrix matrix)
Gets the object’s bounds.
Parameters:
Parameter | Type | Description |
---|---|---|
matrix | Matrix | The matrix to apply before bounds will be calculated. |
Returns: RectangleF - The estimated object’s bounds.
getBounds(Matrix matrix, Pen pen)
public abstract RectangleF getBounds(Matrix matrix, Pen pen)
Gets the object’s bounds.
Parameters:
Parameter | Type | Description |
---|---|---|
matrix | Matrix | The matrix to apply before bounds will be calculated. |
pen | Pen | The pen to use for object. This can influence the object’s bounds size. |
Returns: RectangleF - The estimated object’s bounds.
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
transform(Matrix transform)
public abstract void transform(Matrix transform)
Applies the specified transformation to the shape.
Parameters:
Parameter | Type | Description |
---|---|---|
transform | Matrix | The transformation to apply. |
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |