Class BezierShape

Class BezierShape

Název místa: Aspose.Imaging.Shapes Shromáždění: Aspose.Imaging.dll (25.4.0)

Představuje bezier spline.

public sealed class BezierShape : PolygonShape, IOrderedShape

Inheritance

object ObjectWithBounds Shape PolygonShape BezierShape

Implements

IOrderedShape

Dědiční členové

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

Začíná nový příklad třídy Aspose.Imaging.Shapes.BezierShape.

[JsonConstructor]
public BezierShape()

BezierShape(PointF[])

Začíná nový příklad třídy Aspose.Imaging.Shapes.BezierShape.

public BezierShape(PointF[] points)

Parameters

points PointF []a[]

Tyto body jsou rozděleny.

BezierShape(PointF[]a[], a bool)

Začíná nový příklad třídy Aspose.Imaging.Shapes.BezierShape.

public BezierShape(PointF[] points, bool isClosed)

Parameters

points PointF []a[]

Tyto body jsou rozděleny.

isClosed bool

Pokud je nastaven na “pravdivý”, bezier spline je uzavřena.

Properties

Bounds

Obsahuje hranice objektu.

[JsonIgnore]
public override RectangleF Bounds { get; }

Hodnota nemovitosti

RectangleF

Center

Dostane střed tvaru.

[JsonIgnore]
public override PointF Center { get; }

Hodnota nemovitosti

PointF

EndPoint

Získejte bod konce tvaru.

[JsonIgnore]
public override PointF EndPoint { get; }

Hodnota nemovitosti

PointF

HasSegments

Obdrží hodnotu, která naznačuje, zda tvar má segmenty.

[JsonIgnore]
public override bool HasSegments { get; }

Hodnota nemovitosti

bool

Segments

Dostane tvarové segmenty.

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

Hodnota nemovitosti

ShapeSegment []a[]

Methods

Equals(Objekt)

Zkontrolujte, zda jsou objekty stejn.

public override bool Equals(object obj)

Parameters

obj object

Druhý objekt.

Returns

bool

Výsledkem je srovnání rovnosti.

GetBounds(Matrix)

Obsahuje hranice objektu.

public override RectangleF GetBounds(Matrix matrix)

Parameters

matrix Matrix

Matrix, který se použije před hranicemi, bude vypočítán.

Returns

RectangleF

Hranice odhadovaného objektu.

GetBounds(Matrix a Pen)

Obsahuje hranice objektu.

public override RectangleF GetBounds(Matrix matrix, Pen pen)

Parameters

matrix Matrix

Matrix, který se použije před hranicemi, bude vypočítán.

pen Pen

Pen použít pro objekt. To může ovlivnit velikost hranic objektu.

Returns

RectangleF

Hranice odhadovaného objektu.

GetHashCode()

Získejte hash kód aktuálního objektu

public override int GetHashCode()

Returns

int

Kód pro hash.

 Čeština