Stay organized with collections
Save and categorize content based on your preferences.
ShapePath.PathArcOperation
public
static
class
ShapePath.PathArcOperation
extends ShapePath.PathOperation
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.
|
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 |
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
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.
right
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 |
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 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# ShapePath.PathArcOperation\n\nSummary: [Fields](#lfields) \\| [Inherited Fields](#inhfields) \\| [Ctors](#pubctors) \\| [Methods](#pubmethods) \\| [Inherited Methods](#inhmethods) \n\nShapePath.PathArcOperation\n==========================\n\n\n`\npublic\nstatic\n\n\nclass\nShapePath.PathArcOperation\n`\n\n\n`\n\n\n`\n\n`\n\nextends `[ShapePath.PathOperation](/reference/com/google/android/material/shape/ShapePath.PathOperation)`\n\n\n`\n\n`\n\n\n`\n\n|---|---|--------------------------------------------------------------|\n| java.lang.Object |||\n| ↳ | [com.google.android.material.shape.ShapePath.PathOperation](/reference/com/google/android/material/shape/ShapePath.PathOperation) ||\n| | ↳ | com.google.android.material.shape.ShapePath.PathArcOperation |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nPath arc operation.\n\nSummary\n-------\n\n| ### Fields ||\n|-----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` public float` | [bottom](/reference/com/google/android/material/shape/ShapePath.PathArcOperation#bottom) *This field is deprecated. Use the class methods to interact with this field so internal state can be maintained.* |\n| ` public float` | [left](/reference/com/google/android/material/shape/ShapePath.PathArcOperation#left) *This field is deprecated. Use the class methods to interact with this field so internal state can be maintained.* |\n| ` public float` | [right](/reference/com/google/android/material/shape/ShapePath.PathArcOperation#right) *This field is deprecated. Use the class methods to interact with this field so internal state can be maintained.* |\n| ` public float` | [startAngle](/reference/com/google/android/material/shape/ShapePath.PathArcOperation#startAngle) *This field is deprecated. Use the class methods to interact with this field so internal state can be maintained.* |\n| ` public float` | [sweepAngle](/reference/com/google/android/material/shape/ShapePath.PathArcOperation#sweepAngle) *This field is deprecated. Use the class methods to interact with this field so internal state can be maintained.* |\n| ` public float` | [top](/reference/com/google/android/material/shape/ShapePath.PathArcOperation#top) *This field is deprecated. Use the class methods to interact with this field so internal state can be maintained.* |\n\n| ### Inherited fields |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| From class [com.google.android.material.shape.ShapePath.PathOperation](/reference/com/google/android/material/shape/ShapePath.PathOperation) |---------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` protected final Matrix` | [matrix](/reference/com/google/android/material/shape/ShapePath.PathOperation#matrix) A usable [Matrix](/reference/android/graphics/Matrix) object for transformations. | |\n\n| ### Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[PathArcOperation](/reference/com/google/android/material/shape/ShapePath.PathArcOperation#PathArcOperation(float,%20float,%20float,%20float))`(float left, float top, float right, float bottom) ` |\n\n| ### Public methods ||\n|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` void` | ` `[applyToPath](/reference/com/google/android/material/shape/ShapePath.PathArcOperation#applyToPath(android.graphics.Matrix,%20android.graphics.Path))`(Matrix transform, Path path) ` Applies the given `transform` to the provided `path`. |\n\n| ### Inherited methods |\n|-----------------------|---|\n| From class ` `[com.google.android.material.shape.ShapePath.PathOperation](/reference/com/google/android/material/shape/ShapePath.PathOperation)` ` |------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract void` | ` `[applyToPath](/reference/com/google/android/material/shape/ShapePath.PathOperation#applyToPath(android.graphics.Matrix,%20android.graphics.Path))`(Matrix transform, Path path) ` Applies the given `transform` to the provided `path`. | ||\n| From class ` java.lang.Object ` |-------------------|-------------------------------| | ` Object` | ` clone() ` | | ` boolean` | ` equals(Object arg0) ` | | ` void` | ` finalize() ` | | ` final Class\u003c?\u003e` | ` getClass() ` | | ` int` | ` hashCode() ` | | ` final void` | ` notify() ` | | ` final void` | ` notifyAll() ` | | ` String` | ` toString() ` | | ` final void` | ` wait(long arg0, int arg1) ` | | ` final void` | ` wait(long arg0) ` | | ` final void` | ` wait() ` | ||\n\nFields\n------\n\n### bottom\n\n```\npublic float bottom\n```\n\n\n**This field is deprecated.** \n\nUse the class methods to interact with this field so internal state can be\nmaintained.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### left\n\n```\npublic float left\n```\n\n\n**This field is deprecated.** \n\nUse the class methods to interact with this field so internal state can be\nmaintained.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### right\n\n```\npublic float right\n```\n\n\n**This field is deprecated.** \n\nUse the class methods to interact with this field so internal state can be\nmaintained.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### startAngle\n\n```\npublic float startAngle\n```\n\n\n**This field is deprecated.** \n\nUse the class methods to interact with this field so internal state can be\nmaintained.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### sweepAngle\n\n```\npublic float sweepAngle\n```\n\n\n**This field is deprecated.** \n\nUse the class methods to interact with this field so internal state can be\nmaintained.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### top\n\n```\npublic float top\n```\n\n\n**This field is deprecated.** \n\nUse the class methods to interact with this field so internal state can be\nmaintained.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nPublic constructors\n-------------------\n\n### PathArcOperation\n\n```\npublic PathArcOperation (float left, \n float top, \n float right, \n float bottom)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|----------|----------------|\n| `left` | `float` \u003cbr /\u003e |\n| `top` | `float` \u003cbr /\u003e |\n| `right` | `float` \u003cbr /\u003e |\n| `bottom` | `float` \u003cbr /\u003e |\n\nPublic methods\n--------------\n\n### applyToPath\n\n```\npublic void applyToPath (Matrix transform, \n Path path)\n```\n\nApplies the given `transform` to the provided `path`.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-------------|-----------------|\n| `transform` | `Matrix` \u003cbr /\u003e |\n| `path` | `Path` \u003cbr /\u003e |"]]