Class Shape

Class Shape

Nombre del espacio: Aspose.Imaging Asamblea: Aspose.Imaging.dll (25.4.0)

La forma: un conjunto continuo de puntos conectados utilizando una regla específica.

public abstract class Shape : ObjectWithBounds

Inheritance

object ObjectWithBounds Shape

Derived

PolygonShape ,y, RectangleProjectedShape

Miembros heredados

ObjectWithBounds.GetBounds(Matrix) ,y, ObjectWithBounds.GetBounds(Matrix, Pen) ,y, ObjectWithBounds.Transform(Matrix) ,y, ObjectWithBounds.Equals(object) ,y, ObjectWithBounds.GetHashCode() ,y, ObjectWithBounds.Equals(ObjectWithBounds) ,y, ObjectWithBounds.Bounds ,y, object.GetType() ,y, object.MemberwiseClone() ,y, object.ToString() ,y, object.Equals(object?) ,y, object.Equals(object?, object?) ,y, object.ReferenceEquals(object?, object?) ,y, object.GetHashCode()

Constructors

Shape()

protected Shape()

Properties

Center

Tiene el centro de la forma.

public abstract PointF Center { get; }

Valor de la propiedad

PointF

HasSegments

Recibe un valor que indica si la forma tiene segmentos.

public abstract bool HasSegments { get; }

Valor de la propiedad

bool

Segments

Obtenga los segmentos de forma.

public abstract ShapeSegment[] Segments { get; }

Valor de la propiedad

ShapeSegment [][]

Methods

Equals(Objeto)

Verifique si los objetos son iguales.

public override bool Equals(object obj)

Parameters

obj object

El otro objeto.

Returns

bool

El resultado de la igualdad.

Equals(Shape)

Verifique si los objetos son iguales.

protected bool Equals(Shape other)

Parameters

other Shape

El otro objeto.

Returns

bool

El resultado de la igualdad.

GetHashCode()

Obtenga el código hash del objeto actual.

public override int GetHashCode()

Returns

int

El código hash.

 Español