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

کد هش

 فارسی