Class BezierShape

Class BezierShape

Le nom : Aspose.Imaging.Shapes Assemblée: Aspose.Imaging.dll (25.4.0)

Si tratta di un bezier spline.

public sealed class BezierShape : PolygonShape, IOrderedShape

Inheritance

object ObjectWithBounds Shape PolygonShape BezierShape

Implements

IOrderedShape

I membri ereditari

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

Initialisez une nouvelle instance de la classe Aspose.Imaging.Shapes.BezierShape.

[JsonConstructor]
public BezierShape()

BezierShape(PointF[])

Initialisez une nouvelle instance de la classe Aspose.Imaging.Shapes.BezierShape.

public BezierShape(PointF[] points)

Parameters

points PointF [ ]

I punti array.

BezierShape(PointF[ ], La boule)

Initialisez une nouvelle instance de la classe Aspose.Imaging.Shapes.BezierShape.

public BezierShape(PointF[] points, bool isClosed)

Parameters

points PointF [ ]

I punti array.

isClosed bool

Se si impone a ‘verità’ la spina di bezier è chiusa.

Properties

Bounds

Riceve i limiti dell’oggetto.

[JsonIgnore]
public override RectangleF Bounds { get; }

Valore di proprietà

RectangleF

Center

Ottieni il centro della forma.

[JsonIgnore]
public override PointF Center { get; }

Valore di proprietà

PointF

EndPoint

Ottieni il punto di fine forma.

[JsonIgnore]
public override PointF EndPoint { get; }

Valore di proprietà

PointF

HasSegments

Riceve un valore che indica se la forma ha segmenti.

[JsonIgnore]
public override bool HasSegments { get; }

Valore di proprietà

bool

Segments

Ottieni i segmenti di forma.

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

Valore di proprietà

ShapeSegment [ ]

Methods

Equals(Objets)

Verificare se gli oggetti sono uguali.

public override bool Equals(object obj)

Parameters

obj object

L’altro oggetto

Returns

bool

Il risultato della comparsa di uguaglianza.

GetBounds(Matrix)

Riceve i limiti dell’oggetto.

public override RectangleF GetBounds(Matrix matrix)

Parameters

matrix Matrix

La matrice da applicare prima dei limiti sarà calcolata.

Returns

RectangleF

I limiti dell’oggetto stimato.

GetBounds(Matrix et Pen)

Riceve i limiti dell’oggetto.

public override RectangleF GetBounds(Matrix matrix, Pen pen)

Parameters

matrix Matrix

La matrice da applicare prima dei limiti sarà calcolata.

pen Pen

La penna da usare per l’oggetto. Questo può influenzare la dimensione dei confini dell’oggetto.

Returns

RectangleF

I limiti dell’oggetto stimato.

GetHashCode()

Obtenez le code hash de l’objet actuel

public override int GetHashCode()

Returns

int

Il codice hash.

 Français