Class Shape

Class Shape

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

Formuła: ciągły zestaw punktów połączonych przy użyciu określonego zasady.

public abstract class Shape : ObjectWithBounds

Inheritance

object ObjectWithBounds Shape

Derived

PolygonShape , RectangleProjectedShape

Dziedziczeni członkowie

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

Znajduje się w centrum kształtu.

public abstract PointF Center { get; }

Wartość nieruchomości

PointF

HasSegments

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

public abstract bool HasSegments { get; }

Wartość nieruchomości

bool

Segments

Dostęp do segmentów kształtu.

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

Equals(Shape)

Sprawdź, czy obiekty są równe.

protected bool Equals(Shape other)

Parameters

other Shape

Kolejny obiekt.

Returns

bool

Wynik porównania równości.

GetHashCode()

Zdobądź kod hash bieżącego obiektu.

public override int GetHashCode()

Returns

int

To jest kod hash.

 Polski