ShapePath.PathArcOperation

public static class ShapePath.PathArcOperation
extends ShapePath.PathOperation

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


Path arc operation.

Summary

Fields

public float bottom

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

public float left

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

public float right

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

public float startAngle

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

public float sweepAngle

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

public float top

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

Inherited fields

Public constructors

PathArcOperation(float left, float top, float right, float bottom)

Public methods

void applyToPath(Matrix transform, Path path)

Applies the given transform to the provided path.

Inherited methods

Fields

bottom

public float bottom

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

left

public float left

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

public float right

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

startAngle

public float startAngle

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

sweepAngle

public float sweepAngle

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

top

public float top

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

Public constructors

PathArcOperation

public PathArcOperation (float left, 
                float top, 
                float right, 
                float bottom)

Parameters
left float

top float

right float

bottom float

Public methods

applyToPath

public void applyToPath (Matrix transform, 
                Path path)

Applies the given transform to the provided path.

Parameters
transform Matrix

path Path