Class BezierShape

Class BezierShape

Nazwa przestrzeń: Aspose.Imaging.Shapes Zgromadzenie: Aspose.Imaging.dll (25.4.0)

Przedstawia bezier spline.

public sealed class BezierShape : PolygonShape, IOrderedShape

Inheritance

object ObjectWithBounds Shape PolygonShape BezierShape

Implements

IOrderedShape

Dziedziczeni członkowie

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

Inicjalizuje nową instancję klasy Aspose.Imaging.Shapes.BezierShape.

[JsonConstructor]
public BezierShape()

BezierShape(punktów[])

Inicjalizuje nową instancję klasy Aspose.Imaging.Shapes.BezierShape.

public BezierShape(PointF[] points)

Parameters

points PointF [ ]

Punkty są array.

BezierShape(punktów[ ], i bool)

Inicjalizuje nową instancję klasy Aspose.Imaging.Shapes.BezierShape.

public BezierShape(PointF[] points, bool isClosed)

Parameters

points PointF [ ]

Punkty są array.

isClosed bool

Jeśli ustawiono na “prawdziwy” bezier spline jest zamknięty.

Properties

Bounds

Znajdują się granice obiektu.

[JsonIgnore]
public override RectangleF Bounds { get; }

Wartość nieruchomości

RectangleF

Center

Znajduje się w centrum kształtu.

[JsonIgnore]
public override PointF Center { get; }

Wartość nieruchomości

PointF

EndPoint

Otrzymuje punkt końcowy kształtu.

[JsonIgnore]
public override PointF EndPoint { get; }

Wartość nieruchomości

PointF

HasSegments

Otrzymuje wartość wskazującą, czy kształt ma segmenty.

[JsonIgnore]
public override bool HasSegments { get; }

Wartość nieruchomości

bool

Segments

Dostęp do segmentów kształtu.

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

Wartość nieruchomości

ShapeSegment [ ]

Methods

Equals(Obiekt)

Sprawdź, czy obiekty są równe.

public override bool Equals(object obj)

Parameters

obj object

Kolejny obiekt.

Returns

bool

Wynik porównania równości.

GetBounds(Matrix)

Znajdują się granice obiektu.

public override RectangleF GetBounds(Matrix matrix)

Parameters

matrix Matrix

Matryca, którą należy zastosować przed granicami, zostanie obliczona.

Returns

RectangleF

granice szacowanego obiektu.

GetBounds(Matryca i Pen)

Znajdują się granice obiektu.

public override RectangleF GetBounds(Matrix matrix, Pen pen)

Parameters

matrix Matrix

Matryca, którą należy zastosować przed granicami, zostanie obliczona.

pen Pen

Pióro do użycia dla obiektu. może to wpłynąć na wielkość granic obiektu.

Returns

RectangleF

granice szacowanego obiektu.

GetHashCode()

Zdobądź kod hash bieżącego obiektu

public override int GetHashCode()

Returns

int

To jest kod hash.

 Polski