Class LineSegment

Class LineSegment

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

Representa un segmento que conduce derretamente desde un punto específico hasta el siguiente.

public class LineSegment : ShapeSegment

Inheritance

object ShapeSegment LineSegment

Derived

BezierSegment

Miembros heredados

ShapeSegment.Equals(object) ,y, ShapeSegment.GetHashCode() ,y, ShapeSegment.Equals(ShapeSegment) ,y, ShapeSegment.StartPoint ,y, ShapeSegment.EndPoint ,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

LineSegment(Punto F, Punto F)

Inicia una nueva instancia de la clase Aspose.Imaging.ShapeSegments.LineSegment.

public LineSegment(PointF startPoint, PointF endPoint)

Parameters

startPoint PointF

El punto de inicio.

endPoint PointF

El punto final.

Properties

EndPoint

Obtenga el punto final.

public override PointF EndPoint { get; }

Valor de la propiedad

PointF

StartPoint

Obtenga el punto de partida.

public override PointF StartPoint { get; }

Valor de la propiedad

PointF

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(LineSegment)

Verifique si los objetos son iguales.

protected bool Equals(LineSegment other)

Parameters

other LineSegment

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