Class ObjectWithBounds
Class ObjectWithBounds
名称: Aspose.Imaging 收藏: Aspose.Imaging.dll (25.4.0)
对象有界限。
public abstract class ObjectWithBounds
Inheritance
Derived
Figure , GraphicsPath , Shape
继承人
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
ObjectWithBounds()
protected ObjectWithBounds()
Properties
Bounds
抓住对象的界限。
public abstract RectangleF Bounds { get; }
财产价值
Methods
Equals(对象)
检查对象是否平等。
public override bool Equals(object obj)
Parameters
obj
object
其它对象。
Returns
平等比较结果。
Equals(ObjectWithBounds)
检查对象是否平等。
protected bool Equals(ObjectWithBounds other)
Parameters
other
ObjectWithBounds
其它对象。
Returns
平等比较结果。
GetBounds(Matrix)
抓住对象的界限。
public abstract RectangleF GetBounds(Matrix matrix)
Parameters
matrix
Matrix
在限制之前应用的矩阵将被计算。
Returns
估计对象的界限。
GetBounds(马特里克斯,笔)
抓住对象的界限。
public abstract RectangleF GetBounds(Matrix matrix, Pen pen)
Parameters
matrix
Matrix
在限制之前应用的矩阵将被计算。
pen
Pen
用于对象的铅笔,这可能会影响对象的边界大小。
Returns
估计对象的界限。
GetHashCode()
获取当前对象的哈希代码。
public override int GetHashCode()
Returns
哈希代码。
Transform(Matrix)
将所指定的转型应用到形状。
public abstract void Transform(Matrix transform)
Parameters
transform
Matrix
转型适用。