Class Shape
nazivni prostor: Aspose.Imaging Sastav: Aspose.Imaging.dll (25.4.0)
Konstantni skup točaka povezanih pomoću određenog pravila.
public abstract class Shape : ObjectWithBounds
Inheritance
object ← ObjectWithBounds ← Shape
Derived
PolygonShape , RectangleProjectedShape
naslijeđeni članovi
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
Dostaje središte oblika.
public abstract PointF Center { get; }
Vrijednost nekretnina
HasSegments
Dobiva vrijednost koja ukazuje na to ima li oblika segmente.
public abstract bool HasSegments { get; }
Vrijednost nekretnina
Segments
Dobivaju se segmenti oblika.
public abstract ShapeSegment[] Segments { get; }
Vrijednost nekretnina
ShapeSegment []
Methods
Equals(Objekt)
Provjerite jesu li predmeti jednaki.
public override bool Equals(object obj)
Parameters
obj
object
Drugim predmetom.
Returns
Rezultati usporedbe ravnopravnosti.
Equals(Shape)
Provjerite jesu li predmeti jednaki.
protected bool Equals(Shape other)
Parameters
other
Shape
Drugim predmetom.
Returns
Rezultati usporedbe ravnopravnosti.
GetHashCode()
Pronađite hash kod trenutnog objekta.
public override int GetHashCode()
Returns
To je hash kod.