Android 12 Developer Preview is here! Try it out, and give us your feedback!

ShapePath.PathOperation

public static abstract class ShapePath.PathOperation
extends Object

java.lang.Object
   ↳ com.google.android.material.shape.ShapePath.PathOperation


Interface for a path operation to be appended to the operations list.

Summary

Fields

protected final Matrix matrix

A usable Matrix object for transformations.

Public constructors

PathOperation()

Public methods

abstract void applyToPath(Matrix transform, Path path)

Applies the given transform to the provided path.

Inherited methods

Fields

matrix

protected final Matrix matrix

A usable Matrix object for transformations.

Public constructors

PathOperation

public PathOperation ()

Public methods

applyToPath

public abstract void applyToPath (Matrix transform, 
                Path path)

Applies the given transform to the provided path.

Parameters
transform Matrix

path Path