Class LineSegment

Class LineSegment

Nazwa przestrzeń: Aspose.Imaging.ShapeSegments Zgromadzenie: Aspose.Imaging.dll (25.4.0)

Przedstawia segment prowadzący odrobinę od konkretnego punktu do następnego.

public class LineSegment : ShapeSegment

Inheritance

object ShapeSegment LineSegment

Derived

BezierSegment

Dziedziczeni członkowie

ShapeSegment.Equals(object) , ShapeSegment.GetHashCode() , ShapeSegment.Equals(ShapeSegment) , ShapeSegment.StartPoint , ShapeSegment.EndPoint , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

LineSegment(w punkcie, w punkcie)

Inicjalizuje nową instancję klasy Aspose.Imaging.ShapeSegments.LineSgment.

public LineSegment(PointF startPoint, PointF endPoint)

Parameters

startPoint PointF

punkt wyjścia .

endPoint PointF

i punkt końcowy.

Properties

EndPoint

Znajduje się punkt końcowy.

public override PointF EndPoint { get; }

Wartość nieruchomości

PointF

StartPoint

Znajdź punkt wyjścia.

public override PointF StartPoint { get; }

Wartość nieruchomości

PointF

Methods

Equals(Obiekt)

Sprawdź, czy obiekty są równe.

public override bool Equals(object obj)

Parameters

obj object

Kolejny obiekt.

Returns

bool

Wynik porównania równości.

Equals(LineSegment)

Sprawdź, czy obiekty są równe.

protected bool Equals(LineSegment other)

Parameters

other LineSegment

Kolejny obiekt.

Returns

bool

Wynik porównania równości.

GetHashCode()

Zdobądź kod hash bieżącego obiektu.

public override int GetHashCode()

Returns

int

To jest kod hash.

 Polski