Class Shape

Class Shape

Numele spaţiului: Aspose.Imaging Asamblare: Aspose.Imaging.dll (25.4.0)

Un set continuu de puncte conectate folosind o regulă specifică.

public abstract class Shape : ObjectWithBounds

Inheritance

object ObjectWithBounds Shape

Derived

PolygonShape , RectangleProjectedShape

Membrii moștenitori

ObjectWithBounds.GetBounds(Matrix) , ObjectWithBounds.GetBounds(Matrix, Pen) , ObjectWithBounds.Transform(Matrix) , ObjectWithBounds.Equals(object) , ObjectWithBounds.GetHashCode() , ObjectWithBounds.Equals(ObjectWithBounds) , ObjectWithBounds.Bounds , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

Shape()

protected Shape()

Properties

Center

Obțineți centrul formei.

public abstract PointF Center { get; }

Valoarea proprietății

PointF

HasSegments

Obține o valoare care indică dacă forma are segmente.

public abstract bool HasSegments { get; }

Valoarea proprietății

bool

Segments

Obțineți segmentele de formă.

public abstract 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

bool

Rezultatul comparării egalităţii.

Equals(Shape)

Verificați dacă obiectele sunt egale.

protected bool Equals(Shape other)

Parameters

other Shape

celălalt obiect.

Returns

bool

Rezultatul comparării egalităţii.

GetHashCode()

Obțineți codul hash al obiectului curent.

public override int GetHashCode()

Returns

int

Codul de hash.

 Română