Class CurveShape

Class CurveShape

İsim alanı : Aspose.Imaging.Shapes Toplantı: Aspose.Imaging.dll (25.4.0)

Bir yuvarlak spline şeklini temsil eder.

public sealed class CurveShape : PolygonShape, IOrderedShape

Inheritance

object ObjectWithBounds Shape PolygonShape CurveShape

Implements

IOrderedShape

mirasçı üyeleri

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

Aspose.Imaging.Shapes.CurveShape sınıfının yeni bir örneğini başlatır.

[JsonConstructor]
public CurveShape()

CurveShape(PointF[])

Aspose.Imaging.Shapes.CurveShape sınıfının yeni bir örneğini başlatır.

public CurveShape(PointF[] points)

Parameters

points PointF […]

Bu noktalar array.

CurveShape(PointF[…], Bool için)

Aspose.Imaging.Shapes.CurveShape sınıfının yeni bir örneğini başlatır.

public CurveShape(PointF[] points, bool isClosed)

Parameters

points PointF […]

Bu noktalar array.

isClosed bool

Eğer “gerçek” olarak ayarlanırsa, eğrinin kapalı olması gerekir.

CurveShape(PointF[…], Floransa)

Aspose.Imaging.Shapes.CurveShape sınıfının yeni bir örneğini başlatır.

public CurveShape(PointF[] points, float tension)

Parameters

points PointF […]

Bu noktalar array.

tension float

Bu eğriliğin gerginliği.

CurveShape(PointF[…], Float , Bool)

Aspose.Imaging.Shapes.CurveShape sınıfının yeni bir örneğini başlatır.

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

Parameters

points PointF […]

Bu noktalar array.

tension float

Bu eğriliğin gerginliği.

isClosed bool

Eğer “gerçek” olarak ayarlanırsa, eğrinin kapalı olması gerekir.

Properties

Bounds

nesnenin sınırlarını bulur.

[JsonIgnore]
public override RectangleF Bounds { get; }

Mülkiyet Değer

RectangleF

Center

Şekilin merkezini bulur.

[JsonIgnore]
public override PointF Center { get; }

Mülkiyet Değer

PointF

Segments

Şekil segmentleri oluşturur.

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

Mülkiyet Değer

ShapeSegment […]

Tension

Sürücü gerginliği alır veya ayarlar.

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

Mülkiyet Değer

float

Methods

Equals(nesne)

nesnelerin eşit olup olmadığını kontrol edin.

public override bool Equals(object obj)

Parameters

obj object

Diğer nesne ise.

Returns

bool

Eşitlik karşılaştırma sonuçları.

GetBounds(Matrix)

nesnenin sınırlarını bulur.

public override RectangleF GetBounds(Matrix matrix)

Parameters

matrix Matrix

Sınırlar öncesinde uygulanacak matris hesaplanacaktır.

Returns

RectangleF

tahmin edilen nesnenin sınırları.

GetBounds(Matris ve Pen)

nesnenin sınırlarını bulur.

public override RectangleF GetBounds(Matrix matrix, Pen pen)

Parameters

matrix Matrix

Sınırlar öncesinde uygulanacak matris hesaplanacaktır.

pen Pen

Bir nesne için kullanılacak kalem.Bu nesnenin sınır boyutunu etkileyebilir.

Returns

RectangleF

tahmin edilen nesnenin sınırları.

GetHashCode()

Mevcut nesnenin hash kodu alın.

public override int GetHashCode()

Returns

int

Hash kodu ile ilgili.

 Türkçe