Class Shape
Το όνομα: Aspose.Imaging Συγκέντρωση: Aspose.Imaging.dll (25.4.0)
Ένα συνεχές σύνολο σημείων που συνδέονται χρησιμοποιώντας έναν συγκεκριμένο κανόνα.
public abstract class Shape : ObjectWithBounds
Inheritance
object ← ObjectWithBounds ← Shape
Derived
PolygonShape , RectangleProjectedShape
Κληρονομημένα μέλη
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
Πάρτε το κέντρο της μορφής.
public abstract PointF Center { get; }
Αξία ιδιοκτησίας
HasSegments
Αποκτά μια τιμή που υποδεικνύει εάν το σχήμα έχει τμήματα.
public abstract bool HasSegments { get; }
Αξία ιδιοκτησίας
Segments
Πάρτε το τμήμα σχήματος.
public abstract ShapeSegment[] Segments { get; }
Αξία ιδιοκτησίας
ShapeSegment [ ]
Methods
Equals(αντικείμενο)
Ελέγξτε αν τα αντικείμενα είναι ίσα.
public override bool Equals(object obj)
Parameters
obj
object
Το άλλο αντικείμενο.
Returns
Το αποτέλεσμα της σύγκρισης της ισότητας.
Equals(Shape)
Ελέγξτε αν τα αντικείμενα είναι ίσα.
protected bool Equals(Shape other)
Parameters
other
Shape
Το άλλο αντικείμενο.
Returns
Το αποτέλεσμα της σύγκρισης της ισότητας.
GetHashCode()
Αποκτήστε τον κωδικό hash του τρέχοντος αντικειμένου.
public override int GetHashCode()
Returns
Ο κώδικας hash.