Class Shape
Nom dels espais: Aspose.Imaging Assemblea: Aspose.Imaging.dll (25.4.0)
Una sèrie contínua de punts connectats utilitzant una regla específica.
public abstract class Shape : ObjectWithBounds
Inheritance
object ← ObjectWithBounds ← Shape
Derived
PolygonShape , RectangleProjectedShape
Membres heretats
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
És el centre de la forma.
public abstract PointF Center { get; }
Valor de la propietat
HasSegments
Obté un valor que indica si la forma té segments.
public abstract bool HasSegments { get; }
Valor de la propietat
Segments
Obtenir els segments de forma.
public abstract ShapeSegment[] Segments { get; }
Valor de la propietat
ShapeSegment []
Methods
Equals(Objecte)
Veure si els objectes són iguals.
public override bool Equals(object obj)
Parameters
obj
object
L’altre objecte
Returns
El resultat de la comparació d’igualtat.
Equals(Shape)
Veure si els objectes són iguals.
protected bool Equals(Shape other)
Parameters
other
Shape
L’altre objecte
Returns
El resultat de la comparació d’igualtat.
GetHashCode()
Obtenir el codi hash de l’objecte actual.
public override int GetHashCode()
Returns
El codi hash.