public class LineSegment extends ShapeSegment
Represents a segment leading derectly 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 |
---|---|
PointF |
getEndPoint()
Gets the ending point.
|
PointF |
getStartPoint()
Gets the starting point.
|
public PointF getStartPoint()
Gets the starting point.
Value: The starting point.getStartPoint
in class ShapeSegment
public PointF getEndPoint()
Gets the ending point.
Value: The ending point.getEndPoint
in class ShapeSegment