PathSegment
class PathSegment
kotlin.Any | |
↳ | androidx.core.graphics.PathSegment |
A line segment that represents an approximate fraction of a Path
after flattening.
Summary
Public constructors | |
---|---|
Public methods | |
---|---|
Boolean | |
PointF |
getEnd() The end point of the line segment. |
Float |
Fraction along the length of the path that the end point resides. |
PointF |
getStart() The start point of the line segment. |
Float |
Fraction along the length of the path that the start point resides. |
Int |
hashCode() |
String |
toString() |
Public constructors
<init>
PathSegment(
@NonNull start: PointF,
startFraction: Float,
@NonNull end: PointF,
endFraction: Float)
Public methods
getEndFraction
fun getEndFraction(): Float
Fraction along the length of the path that the end point resides.
getStartFraction
fun getStartFraction(): Float
Fraction along the length of the path that the start point resides.
hashCode
fun hashCode(): Int
toString
fun toString(): String