The Android Developer Challenge is back! Submit your idea before December 2.

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

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

Public constructors

ShapePath.PathQuadOperation()

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

Fields

controlX

float controlX

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

controlY

float controlY

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

endX

float endX

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

endY

float endY

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

Public constructors

ShapePath.PathQuadOperation

ShapePath.PathQuadOperation ()

Public methods

applyToPath

void applyToPath (Matrix transform, 
                Path path)

Applies the given transform to the provided path.

Parameters
transform Matrix

path Path