data class PathSegment
A PathSegment is a line segment that represents an approximate fraction of a Path after flattening.
PathSegment(start: PointF, startFraction: Float, end: PointF, endFraction: Float)
A PathSegment is a line segment that represents an approximate fraction of a Path after flattening. 
val end: PointF
The end point of the line segment. 

val endFraction: Float
Fraction along the length of the path that the end point resides. 

val start: PointF
The start point of the line segment. 

val startFraction: Float
Fraction along the length of the path that the start point resides. 