PathSegment

A line segment that represents an approximate fraction of a Path after flattening.

Constructors

Link copied to clipboard
constructor(@NonNull start: @NonNull PointF, startFraction: Float, @NonNull end: @NonNull PointF, endFraction: Float)

Functions

Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
@NonNull
open fun getEnd(): @NonNull PointF
The end point of the line segment.
Link copied to clipboard
open fun getEndFraction(): Float
Fraction along the length of the path that the end point resides.
Link copied to clipboard
@NonNull
open fun getStart(): @NonNull PointF
The start point of the line segment.
Link copied to clipboard
Fraction along the length of the path that the start point resides.
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun toString(): String