Class BezierShape
نام ها : Aspose.Imaging.Shapes جمع آوری: Aspose.Imaging.dll (25.4.0)
نشان دهنده یک بیگانه است.
public sealed class BezierShape : PolygonShape, IOrderedShape
Inheritance
object ← ObjectWithBounds ← Shape ← PolygonShape ← BezierShape
Implements
اعضای ارثی
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; }
ارزش املاک
Center
در مرکز شکل قرار می گیرد.
[JsonIgnore]
public override PointF Center { get; }
ارزش املاک
EndPoint
نقطه پایان شکل را به دست می آورد.
[JsonIgnore]
public override PointF EndPoint { get; }
ارزش املاک
HasSegments
یک مقدار نشان می دهد که آیا شکل دارای بخش ها است یا خیر.
[JsonIgnore]
public override bool HasSegments { get; }
ارزش املاک
Segments
بخش های شکل را در نظر بگیرید.
[JsonIgnore]
public override ShapeSegment[] Segments { get; }
ارزش املاک
ShapeSegment [ ]
Methods
Equals(موضوع)
بررسی کنید که آیا اشیاء برابر هستند یا خیر.
public override bool Equals(object obj)
Parameters
obj
object
بقیه اشیاء
Returns
نتیجه مقایسه برابری است.
GetBounds(Matrix)
محدودیت های موضوع را به دست می آورد.
public override RectangleF GetBounds(Matrix matrix)
Parameters
matrix
Matrix
ماتریس قبل از محدودیت ها محاسبه خواهد شد.
Returns
محدودیت های محاسبه شده اشیاء
GetBounds(ماتریکس، پن)
محدودیت های موضوع را به دست می آورد.
public override RectangleF GetBounds(Matrix matrix, Pen pen)
Parameters
matrix
Matrix
ماتریس قبل از محدودیت ها محاسبه خواهد شد.
pen
Pen
قلم برای استفاده برای اشیاء.این می تواند اندازه مرزهای اشیاء را تحت تاثیر قرار دهد.
Returns
محدودیت های محاسبه شده اشیاء
GetHashCode()
دریافت کد هش از موضوع فعلی
public override int GetHashCode()
Returns
کد هش