Class BezierShape

Class BezierShape

اسم الفضاء : Aspose.Imaging.Shapes تجميع: Aspose.Imaging.dll (25.4.0)

تمثّل لـ Bezier Spline.

public sealed class BezierShape : PolygonShape, IOrderedShape

Inheritance

object ObjectWithBounds Shape PolygonShape BezierShape

Implements

IOrderedShape

الأعضاء الموروثين

PolygonShape.Reverse() , PolygonShape.GetBounds(Matrix) , PolygonShape.GetBounds(Matrix, Pen) , PolygonShape.Transform(Matrix) , PolygonShape.Equals(object) , PolygonShape.GetHashCode() , PolygonShape.Points , PolygonShape.IsClosed , PolygonShape.Bounds , PolygonShape.Center , PolygonShape.Segments , PolygonShape.HasSegments , PolygonShape.StartPoint , PolygonShape.EndPoint , Shape.Equals(object) , Shape.GetHashCode() , Shape.Center , Shape.Segments , Shape.HasSegments , ObjectWithBounds.GetBounds(Matrix) , ObjectWithBounds.GetBounds(Matrix, Pen) , ObjectWithBounds.Transform(Matrix) , ObjectWithBounds.Equals(object) , ObjectWithBounds.GetHashCode() , ObjectWithBounds.Bounds , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

BezierShape()

يبدأ مثالًا جديدًا من فئة Aspose.Imaging.Shapes.BezierShape.

[JsonConstructor]
public BezierShape()

BezierShape(نقطة[])

يبدأ مثالًا جديدًا من فئة Aspose.Imaging.Shapes.BezierShape.

public BezierShape(PointF[] points)

Parameters

points PointF [ ]

النقاط تتصدر.

BezierShape(نقطة[ ]بول)

يبدأ مثالًا جديدًا من فئة Aspose.Imaging.Shapes.BezierShape.

public BezierShape(PointF[] points, bool isClosed)

Parameters

points PointF [ ]

النقاط تتصدر.

isClosed bool

إذا قمت بتعيين “الحقيقة” يتم إغلاق خط Bezier.

Properties

Bounds

يحصل على حدود الكائن.

[JsonIgnore]
public override RectangleF Bounds { get; }

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

RectangleF

Center

تحصل على مركز الشكل.

[JsonIgnore]
public override PointF Center { get; }

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

PointF

EndPoint

تحصل على نقطة النهاية الشكل.

[JsonIgnore]
public override PointF EndPoint { get; }

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

PointF

HasSegments

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

[JsonIgnore]
public override bool HasSegments { get; }

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

bool

Segments

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

[JsonIgnore]
public override ShapeSegment[] Segments { get; }

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

ShapeSegment [ ]

Methods

Equals(الموضوع)

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

public override bool Equals(object obj)

Parameters

obj object

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

Returns

bool

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

GetBounds(Matrix)

يحصل على حدود الكائن.

public override RectangleF GetBounds(Matrix matrix)

Parameters

matrix Matrix

سيتم حساب المصفوفة التي سيتم تطبيقها قبل الحدود.

Returns

RectangleF

حدود الكائن المقدر.

GetBounds(ماتريكس، قلم)

يحصل على حدود الكائن.

public override RectangleF GetBounds(Matrix matrix, Pen pen)

Parameters

matrix Matrix

سيتم حساب المصفوفة التي سيتم تطبيقها قبل الحدود.

pen Pen

القلم للاستخدام للكائن.هذا يمكن أن يؤثر على حجم الحدود الكائن.

Returns

RectangleF

حدود الكائن المقدر.

GetHashCode()

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

public override int GetHashCode()

Returns

int

كود الهاش .

 عربي