ShapeSegment

Inheritance: java.lang.Object

public abstract class ShapeSegment

Represents a shape segment. A segment is a line or curve connecting two points.

Constructors

ConstructorDescription
ShapeSegment()

Methods

MethodDescription
getStartPoint()Gets the starting point.
getEndPoint()Gets the ending point.

ShapeSegment()

public ShapeSegment()

getStartPoint()

public abstract PointF getStartPoint()

Gets the starting point.

Returns: PointF - The starting point.

getEndPoint()

public abstract PointF getEndPoint()

Gets the ending point.

Returns: PointF - The ending point.