Class Shape

Class Shape

Navne til: Aspose.Imaging Sammensætning: Aspose.Imaging.dll (25.4.0)

En kontinuerlig sæt punkter forbundet ved hjælp af en bestemt regel.

public abstract class Shape : ObjectWithBounds

Inheritance

object ObjectWithBounds Shape

Derived

PolygonShape , RectangleProjectedShape

De arvede medlemmer

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

Få formens centrum.

public abstract PointF Center { get; }

Ejendomsværdi

PointF

HasSegments

Giver en værdi, der angiver, om formen har segmenter.

public abstract bool HasSegments { get; }

Ejendomsværdi

bool

Segments

Få form segmenter.

public abstract ShapeSegment[] Segments { get; }

Ejendomsværdi

ShapeSegment []

Methods

Equals(Objekt)

Tjek, om objekterne er lige.

public override bool Equals(object obj)

Parameters

obj object

Det andet objekt.

Returns

bool

Sammenligning af ligestilling er resultatet.

Equals(Shape)

Tjek, om objekterne er lige.

protected bool Equals(Shape other)

Parameters

other Shape

Det andet objekt.

Returns

bool

Sammenligning af ligestilling er resultatet.

GetHashCode()

Få hashkoden til det nuværende objekt.

public override int GetHashCode()

Returns

int

Det er hash koden.

 Dansk