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 spline 将关闭。

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()

获取当前对象的Hash代码

public override int GetHashCode()

Returns

int

哈希代码。

 中文