Class Shape
ja nimityö: Aspose.Imaging Kokoelma: Aspose.Imaging.dll (25.4.0)
Muoto. jatkuva joukko pisteitä, jotka liittyvät käyttämällä erityistä sääntöä.
public abstract class Shape : ObjectWithBounds
Inheritance
object ← ObjectWithBounds ← Shape
Derived
PolygonShape , RectangleProjectedShape
Perintöjäsenet
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
Se saa muodon keskustan.
public abstract PointF Center { get; }
Omistuksen arvo
HasSegments
Saat arvon, joka osoittaa, onko muodossa segmenttejä.
public abstract bool HasSegments { get; }
Omistuksen arvo
Segments
Saa muodon segmentit.
public abstract ShapeSegment[] Segments { get; }
Omistuksen arvo
ShapeSegment []
Methods
Equals(Objekti)
Tarkista, ovatko kohteet tasa-arvoisia
public override bool Equals(object obj)
Parameters
obj
object
Toinen esine on.
Returns
Yhdenvertaisuus on tulos.
Equals(Shape)
Tarkista, ovatko kohteet tasa-arvoisia
protected bool Equals(Shape other)
Parameters
other
Shape
Toinen esine on.
Returns
Yhdenvertaisuus on tulos.
GetHashCode()
Hanki nykyisen kohteen hash-koodi.
public override int GetHashCode()
Returns
ja hash koodi.