Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

ShapePath.PathLineOperation

public static class ShapePath.PathLineOperation
extends ShapePath.PathOperation

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


Straight line operation.

Summary

Inherited fields

From class com.google.android.material.shape.ShapePath.PathOperation

Public constructors

ShapePath.PathLineOperation()

Public methods

void applyToPath(Matrix transform, Path path)

Applies the given transform to the provided path.

Inherited methods

From class com.google.android.material.shape.ShapePath.PathOperation
From class java.lang.Object

Public constructors

ShapePath.PathLineOperation

ShapePath.PathLineOperation ()

Public methods

applyToPath

void applyToPath (Matrix transform, 
                Path path)

Applies the given transform to the provided path.

Parameters
transform Matrix

path Path