Google 致力于为黑人社区推动种族平等。查看具体举措

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