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; }

قيمة الممتلكات

PointF

HasSegments

يحصل على قيمة تشير إلى ما إذا كانت الشكل لديه أجزاء.

public abstract bool HasSegments { get; }

قيمة الممتلكات

bool

Segments

يحصل على أجزاء الشكل.

public abstract ShapeSegment[] Segments { get; }

قيمة الممتلكات

ShapeSegment [ ]

Methods

Equals(الموضوع)

تحقق مما إذا كانت الأشياء متساوية.

public override bool Equals(object obj)

Parameters

obj object

الموضوع الآخر .

Returns

bool

نتيجة مقارنة المساواة.

Equals(Shape)

تحقق مما إذا كانت الأشياء متساوية.

protected bool Equals(Shape other)

Parameters

other Shape

الموضوع الآخر .

Returns

bool

نتيجة مقارنة المساواة.

GetHashCode()

احصل على رمز الهاش من الكائن الحالي.

public override int GetHashCode()

Returns

int

كود الهاش .

 عربي