calculatePath

open fun calculatePath(shapeAppearanceModel: ShapeAppearanceModel, interpolation: Float, bounds: RectF, @NonNull path: Path)

Writes the given ShapeAppearanceModel to path

Parameters

shapeAppearanceModel

The shape to be applied in the path.

interpolation

the desired interpolation.

bounds

the desired bounds for the path.

path

the returned path out-var.


open fun calculatePath(shapeAppearanceModel: ShapeAppearanceModel, interpolation: Float, bounds: RectF, pathListener: ShapeAppearancePathProvider.PathListener, @NonNull path: Path)

Writes the given ShapeAppearanceModel to path

Parameters

shapeAppearanceModel

The shape to be applied in the path.

interpolation

the desired interpolation.

bounds

the desired bounds for the path.

pathListener

the path

path

the returned path out-var.


open fun calculatePath(@NonNull shapeAppearanceModel: ShapeAppearanceModel, @Nullable cornerSizeOverrides: Array<Float>, interpolation: Float, bounds: RectF, pathListener: ShapeAppearancePathProvider.PathListener, @NonNull path: Path)

Writes the given ShapeAppearanceModel to path

Parameters

shapeAppearanceModel

The shape to be applied in the path.

cornerSizeOverrides

the corner sizes to overload the ones from shapeAppearanceModel.

interpolation

the desired interpolation.

bounds

the desired bounds for the path.

pathListener

the path

path

the returned path out-var.