Class BezierShape
Numele spaţiului: Aspose.Imaging.Shapes Asamblare: Aspose.Imaging.dll (25.4.0)
Reprezintă o spline bezieră.
public sealed class BezierShape : PolygonShape, IOrderedShape
Inheritance
object ← ObjectWithBounds ← Shape ← PolygonShape ← BezierShape
Implements
Membrii moștenitori
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()
Inițializează o nouă instanță a clasei Aspose.Imaging.Shapes.BezierShape.
[JsonConstructor]
public BezierShape()
BezierShape(Punctul[])
Inițializează o nouă instanță a clasei Aspose.Imaging.Shapes.BezierShape.
public BezierShape(PointF[] points)
Parameters
points
PointF
[]
Punctele sunt array.
BezierShape(Punctul[], şi bool)
Inițializează o nouă instanță a clasei Aspose.Imaging.Shapes.BezierShape.
public BezierShape(PointF[] points, bool isClosed)
Parameters
points
PointF
[]
Punctele sunt array.
isClosed
bool
În cazul în care este setat pentru a fi “veritabil”, splinea bezier este închisă.
Properties
Bounds
Obțineți limitele obiectului.
[JsonIgnore]
public override RectangleF Bounds { get; }
Valoarea proprietății
Center
Obțineți centrul formei.
[JsonIgnore]
public override PointF Center { get; }
Valoarea proprietății
EndPoint
Obțineți punctul final de formă.
[JsonIgnore]
public override PointF EndPoint { get; }
Valoarea proprietății
HasSegments
Obține o valoare care indică dacă forma are segmente.
[JsonIgnore]
public override bool HasSegments { get; }
Valoarea proprietății
Segments
Obțineți segmentele de formă.
[JsonIgnore]
public override ShapeSegment[] Segments { get; }
Valoarea proprietății
ShapeSegment []
Methods
Equals(Obiectul)
Verificați dacă obiectele sunt egale.
public override bool Equals(object obj)
Parameters
obj
object
celălalt obiect.
Returns
Rezultatul comparării egalităţii.
GetBounds(Matrix)
Obțineți limitele obiectului.
public override RectangleF GetBounds(Matrix matrix)
Parameters
matrix
Matrix
Matrixul care trebuie aplicat înainte de limitele vor fi calculate.
Returns
Limitele obiectului estimat.
GetBounds(Matrică, Pen)
Obțineți limitele obiectului.
public override RectangleF GetBounds(Matrix matrix, Pen pen)
Parameters
matrix
Matrix
Matrixul care trebuie aplicat înainte de limitele vor fi calculate.
pen
Pen
Penul de utilizare pentru obiect. Acest lucru poate influența dimensiunea limitelor obiectului.
Returns
Limitele obiectului estimat.
GetHashCode()
Obțineți codul hash al obiectului curent
public override int GetHashCode()
Returns
Codul de hash.