Class BezierShape
Il nome: Aspose.Imaging.Shapes Assemblea: 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
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()
Inizia una nuova instanza della classe Aspose.Imaging.Shapes.BezierShape.
[JsonConstructor]
public BezierShape()
BezierShape(di PointF[])
Inizia una nuova instanza della classe Aspose.Imaging.Shapes.BezierShape.
public BezierShape(PointF[] points)
Parameters
points
PointF
[ ]
I punti array.
BezierShape(di PointF[ ], di bool)
Inizia una nuova instanza della 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à
Center
Ottieni il centro della forma.
[JsonIgnore]
public override PointF Center { get; }
Valore di proprietà
EndPoint
Ottieni il punto di fine forma.
[JsonIgnore]
public override PointF EndPoint { get; }
Valore di proprietà
HasSegments
Riceve un valore che indica se la forma ha segmenti.
[JsonIgnore]
public override bool HasSegments { get; }
Valore di proprietà
Segments
Ottieni i segmenti di forma.
[JsonIgnore]
public override ShapeSegment[] Segments { get; }
Valore di proprietà
ShapeSegment [ ]
Methods
Equals(oggetto)
Verificare se gli oggetti sono uguali.
public override bool Equals(object obj)
Parameters
obj
object
L’altro oggetto
Returns
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
I limiti dell’oggetto stimato.
GetBounds(Matrix e 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
I limiti dell’oggetto stimato.
GetHashCode()
Ottieni il codice hash dell’oggetto attuale
public override int GetHashCode()
Returns
Il codice hash.