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

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

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

Public constructors

ShapePath.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

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

Fields

bottom

float bottom

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

left

float left

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

right

float right

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

startAngle

float startAngle

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

sweepAngle

float sweepAngle

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

top

float top

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

Public constructors

ShapePath.PathArcOperation

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

Parameters
left float

top float

right float

bottom float

Public methods

applyToPath

void applyToPath (Matrix transform, 
                Path path)

Applies the given transform to the provided path.

Parameters
transform Matrix

path Path