ObjectWithBounds
Contents
[
Hide
]The object having bounds.
Constructors
| Constructor | Description |
|---|---|
| ObjectWithBounds() |
Methods
| Method | Description |
|---|---|
| getBounds() | Gets the object’s bounds. |
| getBounds(Matrix matrix) | Gets the object’s bounds. |
| transform(Matrix transform) | Applies the specified transformation to the shape. |
ObjectWithBounds()
public ObjectWithBounds()
getBounds()
public abstract com.aspose.cad.RectangleF getBounds()
Gets the object’s bounds.
Returns: com.aspose.cad.RectangleF - The object’s bounds.
getBounds(Matrix matrix)
public abstract com.aspose.cad.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: com.aspose.cad.RectangleF - The estimated object’s bounds.
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. |