Class Shape
Pôvodný názov: Aspose.Imaging Zhromaždenie: Aspose.Imaging.dll (25.4.0)
Konštantný súbor bodov spojených pomocou špecifického pravidla.
public abstract class Shape : ObjectWithBounds
Inheritance
object ← ObjectWithBounds ← Shape
Derived
PolygonShape , RectangleProjectedShape
Z dedičných členov
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
Dostane stred tvaru.
public abstract PointF Center { get; }
Hodnota nehnuteľnosti
HasSegments
Získava hodnotu, ktorá ukazuje, či tvar má segmenty.
public abstract bool HasSegments { get; }
Hodnota nehnuteľnosti
Segments
Dostáva tvarové segmenty.
public abstract ShapeSegment[] Segments { get; }
Hodnota nehnuteľnosti
ShapeSegment []
Methods
Equals(objekty)
Skontrolujte, či sú objekty rovnaké.
public override bool Equals(object obj)
Parameters
obj
object
Druhý objekt
Returns
Výsledkom je porovnanie rovnosti.
Equals(Shape)
Skontrolujte, či sú objekty rovnaké.
protected bool Equals(Shape other)
Parameters
other
Shape
Druhý objekt
Returns
Výsledkom je porovnanie rovnosti.
GetHashCode()
Získajte hash kód aktuálneho objektu.
public override int GetHashCode()
Returns
Kód na hash.