public abstract class ObjectWithBounds extends Object
The object having bounds.
Constructor and Description |
---|
ObjectWithBounds() |
Modifier and Type | Method and Description |
---|---|
abstract RectangleF |
getBounds()
Gets the object's bounds.
|
abstract RectangleF |
getBounds(Matrix matrix)
Gets the object's bounds.
|
abstract RectangleF |
getBounds(Matrix matrix,
Pen pen)
Gets the object's bounds.
|
abstract void |
transform(Matrix transform)
Applies the specified transformation to the shape.
|
public abstract RectangleF getBounds()
Gets the object's bounds.
public abstract RectangleF getBounds(Matrix matrix)
Gets the object's bounds.
matrix
- The matrix to apply before bounds will be calculated.public abstract RectangleF getBounds(Matrix matrix, Pen pen)
Gets the object's bounds.
matrix
- The matrix to apply before bounds will be calculated.pen
- The pen to use for object. This can influence the object's bounds size.public abstract void transform(Matrix transform)
Applies the specified transformation to the shape.
transform
- The transformation to apply.