core-ktx / androidx.graphics / PathSegment / <init>

<init>

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.

Parameters

start - The start point of the line segment

startFraction - Fraction along the length of the path that the start point resides

start - The end point of the line segment

startFraction - Fraction along the length of the path that the end point resides