core-ktx / androidx.graphics / PathSegment

PathSegment

data class PathSegment

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

Constructors

<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.

Properties

end

val end: PointF

endFraction

val endFraction: Float

start

val start: PointF

startFraction

val startFraction: Float