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

Object clone()
boolean equals(Object arg0)
void finalize()
final Class<?> getClass()
int hashCode()
final void notify()
final void notifyAll()
String toString()
final void wait(long arg0, int arg1)
final void wait(long arg0)
final void wait()

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