Android 12 Developer Preview is here! Try it out, and give us your feedback!

ShapePath.PathQuadOperation

public static class ShapePath.PathQuadOperation
extends ShapePath.PathOperation

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


Path quad operation.

Summary

Fields

public float controlX

This field is deprecated. Use the class methods to interact with this field so internal state can be maintained.

public float controlY

This field is deprecated. Use the class methods to interact with this field so internal state can be maintained.

public float endX

This field is deprecated. Use the class methods to interact with this field so internal state can be maintained.

public float endY

This field is deprecated. Use the class methods to interact with this field so internal state can be maintained.

Inherited fields

Public constructors

PathQuadOperation()

Public methods

void applyToPath(Matrix transform, Path path)

Applies the given transform to the provided path.

Inherited methods

Fields

controlX

public float controlX

This field is deprecated.
Use the class methods to interact with this field so internal state can be maintained.

controlY

public float controlY

This field is deprecated.
Use the class methods to interact with this field so internal state can be maintained.

endX

public float endX

This field is deprecated.
Use the class methods to interact with this field so internal state can be maintained.

endY

public float endY

This field is deprecated.
Use the class methods to interact with this field so internal state can be maintained.

Public constructors

PathQuadOperation

public PathQuadOperation ()

Public methods

applyToPath

public void applyToPath (Matrix transform, 
                Path path)

Applies the given transform to the provided path.

Parameters
transform Matrix

path Path