Class BezierShape
Pôvodný názov: Aspose.Imaging.Shapes Zhromaždenie: Aspose.Imaging.dll (25.4.0)
Predstavuje bezier spline.
public sealed class BezierShape : PolygonShape, IOrderedShape
Inheritance
object ← ObjectWithBounds ← Shape ← PolygonShape ← BezierShape
Implements
Z dedičných č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()
Iniciuje novú inštanciu triedy Aspose.Imaging.Shapes.BezierShape.
[JsonConstructor]
public BezierShape()
BezierShape(Počítač[])
Iniciuje novú inštanciu triedy Aspose.Imaging.Shapes.BezierShape.
public BezierShape(PointF[] points)
Parameters
points
PointF
[]
Počítačové body sú rozdelené.
BezierShape(Počítač[], a bool)
Iniciuje novú inštanciu triedy Aspose.Imaging.Shapes.BezierShape.
public BezierShape(PointF[] points, bool isClosed)
Parameters
points
PointF
[]
Počítačové body sú rozdelené.
isClosed
bool
Ak je nastavený na “skutočný”, bezierová spline je zatvorená.
Properties
Bounds
Získava hranice objektu.
[JsonIgnore]
public override RectangleF Bounds { get; }
Hodnota nehnuteľnosti
Center
Dostane stred tvaru.
[JsonIgnore]
public override PointF Center { get; }
Hodnota nehnuteľnosti
EndPoint
Získajte koniec tvaru bodu.
[JsonIgnore]
public override PointF EndPoint { get; }
Hodnota nehnuteľnosti
HasSegments
Získava hodnotu, ktorá ukazuje, či tvar má segmenty.
[JsonIgnore]
public override bool HasSegments { get; }
Hodnota nehnuteľnosti
Segments
Dostáva tvarové segmenty.
[JsonIgnore]
public override ShapeSegment[] Segments { get; }
Hodnota nehnuteľnosti
ShapeSegment []
Methods
Equals(objekty)
Skontrolujte, či sú objekty rovnaké.
public override bool Equals(object obj)
Parameters
obj
object
Druhý objekt
Returns
Výsledkom je porovnanie rovnosti.
GetBounds(Matrix)
Získava hranice objektu.
public override RectangleF GetBounds(Matrix matrix)
Parameters
matrix
Matrix
Matrix, ktorý sa má použiť pred hranicami, sa vypočíta.
Returns
Hranice odhadovaného objektu.
GetBounds(Matrix a Pen)
Získava hranice objektu.
public override RectangleF GetBounds(Matrix matrix, Pen pen)
Parameters
matrix
Matrix
Matrix, ktorý sa má použiť pred hranicami, sa vypočíta.
pen
Pen
Pen na použitie pre objekt. To môže ovplyvniť veľkosť hraníc objektu.
Returns
Hranice odhadovaného objektu.
GetHashCode()
Získajte hash kód aktuálneho objektu
public override int GetHashCode()
Returns
Kód na hash.