The Android Developer Challenge is back! Submit your idea before December 2.

ShapePath.PathOperation

public static abstract class ShapePath.PathOperation
extends Object

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


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

ShapePath.PathOperation()

Public methods

abstract void applyToPath(Matrix transform, Path path)

Applies the given transform to the provided path.

Inherited methods

From class java.lang.Object

Fields

matrix

Matrix matrix

A usable Matrix object for transformations.

Public constructors

ShapePath.PathOperation

ShapePath.PathOperation ()

Public methods

applyToPath

void applyToPath (Matrix transform, 
                Path path)

Applies the given transform to the provided path.

Parameters
transform Matrix

path Path