ObjectWithBounds 类

Summary: The object having bounds.

Module: aspose.imaging

Full Name: aspose.imaging.ObjectWithBounds

Properties

NameTypeAccess描述
boundsRectangleFr获取对象的边界。

Methods

Name描述
get_bounds(matrix)获取对象的边界。
get_bounds(matrix, pen)获取对象的边界。
transform(transform)对形状应用指定的变换。

Method: get_bounds(matrix)

 get_bounds(matrix) 

获取对象的边界。

Parameters:

参数TypeDescription
matrixMatrix在计算边界之前要应用的矩阵。

Returns

TypeDescription
RectangleF估计的对象边界。

Method: get_bounds(matrix, pen)

 get_bounds(matrix, pen) 

获取对象的边界。

Parameters:

参数TypeDescription
matrixMatrix在计算边界之前要应用的矩阵。
penPen用于对象的笔。这可能会影响对象边界的大小。

Returns

TypeDescription
RectangleF估计的对象边界。

Method: transform(transform)

 transform(transform) 

对形状应用指定的变换。

Parameters:

参数TypeDescription
transformMatrix要应用的变换。