Android Studio Sign in

PathParser.PathDataNode


public class PathParser.PathDataNode


Each PathDataNode represents one command in the "d" attribute of the svg file. An array of PathDataNode can represent the whole "d" attribute.

Summary

Public methods

@NonNull float[]
char
void
interpolatePathDataNode(
    @NonNull PathParser.PathDataNode nodeFrom,
    @NonNull PathParser.PathDataNode nodeTo,
    float fraction
)

The current PathDataNode will be interpolated between the nodeFrom and nodeTo according to the fraction.

Public methods

getParams

Added in 1.13.0
public @NonNull float[] getParams()

getType

Added in 1.13.0
public char getType()

interpolatePathDataNode

Added in 1.13.0
public void interpolatePathDataNode(
    @NonNull PathParser.PathDataNode nodeFrom,
    @NonNull PathParser.PathDataNode nodeTo,
    float fraction
)

The current PathDataNode will be interpolated between the nodeFrom and nodeTo according to the fraction.

Parameters
@NonNull PathParser.PathDataNode nodeFrom

The start value as a PathDataNode.

@NonNull PathParser.PathDataNode nodeTo

The end value as a PathDataNode

float fraction

The fraction to interpolate.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.