Class Shape

Class Shape

Il nome: Aspose.Imaging Assemblea: Aspose.Imaging.dll (25.4.0)

Un insieme continuo di punti collegati utilizzando una regola specifica.

public abstract class Shape : ObjectWithBounds

Inheritance

object ObjectWithBounds Shape

Derived

PolygonShape , RectangleProjectedShape

I membri ereditari

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

Ottieni il centro della forma.

public abstract PointF Center { get; }

Valore di proprietà

PointF

HasSegments

Riceve un valore che indica se la forma ha segmenti.

public abstract bool HasSegments { get; }

Valore di proprietà

bool

Segments

Ottieni i segmenti di forma.

public abstract ShapeSegment[] Segments { get; }

Valore di proprietà

ShapeSegment [ ]

Methods

Equals(oggetto)

Verificare se gli oggetti sono uguali.

public override bool Equals(object obj)

Parameters

obj object

L’altro oggetto

Returns

bool

Il risultato della comparsa di uguaglianza.

Equals(Shape)

Verificare se gli oggetti sono uguali.

protected bool Equals(Shape other)

Parameters

other Shape

L’altro oggetto

Returns

bool

Il risultato della comparsa di uguaglianza.

GetHashCode()

Ottieni il codice hash dell’oggetto attuale.

public override int GetHashCode()

Returns

int

Il codice hash.

 Italiano