Class Shape
Class Shape
名称: Aspose.Imaging 收藏: Aspose.Imaging.dll (25.4.0)
形状:使用特定规则连接的连续一组点。
public abstract class Shape : ObjectWithBounds
Inheritance
object ← ObjectWithBounds ← Shape
Derived
PolygonShape , RectangleProjectedShape
继承人
ObjectWithBounds.GetBounds(Matrix) , ObjectWithBounds.GetBounds(Matrix, Pen) , ObjectWithBounds.Transform(Matrix) , ObjectWithBounds.Equals(object) , ObjectWithBounds.GetHashCode() , ObjectWithBounds.Equals(ObjectWithBounds) , ObjectWithBounds.Bounds , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
Shape()
protected Shape()
Properties
Center
得到形状的中心。
public abstract PointF Center { get; }
财产价值
HasSegments
收到一个值,表明形状是否有部分。
public abstract bool HasSegments { get; }
财产价值
Segments
接收形状部分。
public abstract ShapeSegment[] Segments { get; }
财产价值
ShapeSegment ( )
Methods
Equals(对象)
检查对象是否平等。
public override bool Equals(object obj)
Parameters
obj
object
其它对象。
Returns
平等比较结果。
Equals(Shape)
检查对象是否平等。
protected bool Equals(Shape other)
Parameters
other
Shape
其它对象。
Returns
平等比较结果。
GetHashCode()
获取当前对象的哈希代码。
public override int GetHashCode()
Returns
哈希代码。