Class CurveShape
Le nom : Aspose.Imaging.Shapes Assemblée: Aspose.Imaging.dll (25.5.0)
Si tratta di una forma curva spline.
public sealed class CurveShape : PolygonShape, IOrderedShapeInheritance
object ← ObjectWithBounds ← Shape ← PolygonShape ← CurveShape
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
CurveShape()
Initialisez une nouvelle instance de la classe Aspose.Imaging.Shapes.CurveShape.
[JsonConstructor]
public CurveShape()CurveShape(PointF[])
Initialisez une nouvelle instance de la classe Aspose.Imaging.Shapes.CurveShape. La tension par défaut de 0.5 est utilisée.
public CurveShape(PointF[] points)Parameters
points PointF
[ ]
I punti array.
CurveShape(PointF[ ], La boule)
Initialisez une nouvelle instance de la classe Aspose.Imaging.Shapes.CurveShape. La tension par défaut de 0.5 est utilisée.
public CurveShape(PointF[] points, bool isClosed)Parameters
points PointF
[ ]
I punti array.
isClosed bool
Se si impone “verità”, la curva è chiusa.
CurveShape(PointF[ ], La flotte)
Initialisez une nouvelle instance de la classe Aspose.Imaging.Shapes.CurveShape.
public CurveShape(PointF[] points, float tension)Parameters
points PointF
[ ]
I punti array.
tension float
La curva della tensione.
CurveShape(PointF[ ], Plongée, Boul)
Initialisez une nouvelle instance de la classe Aspose.Imaging.Shapes.CurveShape.
public CurveShape(PointF[] points, float tension, bool isClosed)Parameters
points PointF
[ ]
I punti array.
tension float
La curva della tensione.
isClosed bool
Se si impone “verità”, la curva è 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à
Segments
Ottieni i segmenti di forma.
[JsonIgnore]
public override ShapeSegment[] Segments { get; }Valore di proprietà
ShapeSegment [ ]
Tension
Riceve o mette la tensione della curva.
[JsonProperty]
public float Tension { get; set; }Valore di proprietà
Methods
Equals(Objets)
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 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
I limiti dell’oggetto stimato.
GetHashCode()
Ottieni il codice hash dell’oggetto attuale.
public override int GetHashCode()Returns
Il codice hash.