PathSegment
public final class PathSegment
A line segment that represents an approximate fraction of a Path after flattening.
Summary
Public constructors |
|---|
PathSegment( |
Public methods |
|
|---|---|
boolean |
|
@NonNull PointF |
getEnd()The end point of the line segment. |
float |
Fraction along the length of the path that the |
@NonNull PointF |
getStart()The start point of the line segment. |
float |
Fraction along the length of the path that the |
int |
hashCode() |
String |
toString() |
Public constructors
Public methods
getEndFraction
Added in 1.1.0
public float getEndFraction()
Fraction along the length of the path that the end point resides.
getStartFraction
Added in 1.1.0
public float getStartFraction()
Fraction along the length of the path that the start point resides.