ObjectWithBounds Class
Contents
[
Hide
]Summary: The object having bounds.
Module: aspose.psd
Full Name: aspose.psd.ObjectWithBounds
Aspose.PSD Version: 24.9.0
Properties
Name | Type | Access | Description |
---|---|---|---|
bounds | RectangleF | r | Gets the object’s bounds. |
Methods
Name | Description |
---|---|
get_bounds(matrix) | Gets the object’s bounds. |
get_bounds(matrix, pen) | Gets the object’s bounds. |
transform(transform) | Applies the specified transformation to the shape. |
Method: get_bounds(matrix)
get_bounds(matrix)
Gets the object’s bounds.
Parameters:
Parameter | Type | Description |
---|---|---|
matrix | Matrix | The matrix to apply before bounds will be calculated. |
Returns
Type | Description |
---|---|
RectangleF | The estimated object’s bounds. |
Method: get_bounds(matrix, pen)
get_bounds(matrix, 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
Type | Description |
---|---|
RectangleF | The estimated object’s bounds. |
Method: transform(transform)
transform(transform)
Applies the specified transformation to the shape.
Parameters:
Parameter | Type | Description |
---|---|---|
transform | Matrix | The transformation to apply. |