ShapePath.PathLineOperation


Kotlin |Java

public class ShapePath.PathLineOperation extends ShapePath.PathOperation 


Straight line operation.

Summary

Public constructors

Public methods

void
applyToPath(Matrix transform, Path path)

Applies the given transform to the provided path.

final Matrix

A usable Matrix object for transformations.

Inherited fields

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

Public constructors

PathLineOperation

public PathLineOperation()

Public methods

applyToPath

public void applyToPath(Matrix transform, Path path)

Applies the given transform to the provided path.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026年05月14日 UTC.