PathSegment

Added in 1.1.0

public final class PathSegment


A line segment that represents an approximate fraction of a Path after flattening.

Summary

Public constructors

PathSegment(
    @NonNull PointF start,
    float startFraction,
    @NonNull PointF end,
    float endFraction
)

Public methods

boolean
@NonNull PointF

The end point of the line segment.

float

Fraction along the length of the path that the end point resides.

@NonNull PointF

The start point of the line segment.

float

Fraction along the length of the path that the start point resides.

int
String

Public constructors

PathSegment

Added in 1.1.0
public PathSegment(
    @Non