Class CurveShape

Class CurveShape

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

Przedstawia zakrzywioną formę spline.

public sealed class CurveShape : PolygonShape, IOrderedShape

Inheritance

object ObjectWithBounds Shape PolygonShape CurveShape

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

CurveShape()

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

[JsonConstructor]
public CurveShape()

CurveShape(punktów[])

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

public CurveShape(PointF[] points)

Parameters

points PointF [ ]

Punkty są array.

CurveShape(punktów[ ], i bool)

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

public CurveShape(PointF[] points, bool isClosed)

Parameters

points PointF [ ]

Punkty są array.

isClosed bool

Jeśli ustawiona jest „prawda”, kurwa jest zamknięta.

CurveShape(punktów[ ], Floty)

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

public CurveShape(PointF[] points, float tension)

Parameters

points PointF [ ]

Punkty są array.

tension float

na napięcie kurwy.

CurveShape(punktów[ ], float , bool)

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

public CurveShape(PointF[] points, float tension, bool isClosed)

Parameters

points PointF [ ]

Punkty są array.

tension float

na napięcie kurwy.

isClosed bool

Jeśli ustawiona jest „prawda”, kurwa jest zamknięta.

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

Segments

Dostęp do segmentów kształtu.

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

Wartość nieruchomości

ShapeSegment [ ]

Tension

Utrzymuje lub ustawia napięcie kurwy.

[JsonProperty]
public float Tension { get; set; }

Wartość nieruchomości

float

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