public class LineSegment extends ShapeSegment
Represents a segment leading directly from a specific point to the next point.
| Constructor and Description |
|---|
LineSegment(PointF startPoint,
PointF endPoint)
Initializes a new instance of the
LineSegment class. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Check if objects are equal.
|
PointF |
getEndPoint()
Gets the ending point.
|
PointF |
getStartPoint()
Gets the starting point.
|
int |
hashCode()
Get hash code of the current object.
|
public PointF getStartPoint()
Gets the starting point.
Value: The starting point.getStartPoint in class ShapeSegmentpublic PointF getEndPoint()
Gets the ending point.
Value: The ending point.getEndPoint in class ShapeSegmentpublic boolean equals(Object o)
Check if objects are equal.
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.