Stay organized with collections
Save and categorize content based on your preferences.
ShapePath.PathQuadOperation
public
static
class
ShapePath.PathQuadOperation
extends ShapePath.PathOperation
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.
|
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
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 |
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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# ShapePath.PathQuadOperation\n\nSummary: [Fields](#lfields) \\| [Inherited Fields](#inhfields) \\| [Ctors](#pubctors) \\| [Methods](#pubmethods) \\| [Inherited Methods](#inhmethods) \n\nShapePath.PathQuadOperation\n===========================\n\n\n`\npublic\nstatic\n\n\nclass\nShapePath.PathQuadOperation\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.PathQuadOperation |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nPath quad operation.\n\nSummary\n-------\n\n| ### Fields ||\n|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` public float` | [controlX](/reference/com/google/android/material/shape/ShapePath.PathQuadOperation#controlX) *This field is deprecated. Use the class methods to interact with this field so internal state can be maintained.* |\n| ` public float` | [controlY](/reference/com/google/android/material/shape/ShapePath.PathQuadOperation#controlY) *This field is deprecated. Use the class methods to interact with this field so internal state can be maintained.* |\n| ` public float` | [endX](/reference/com/google/android/material/shape/ShapePath.PathQuadOperation#endX) *This field is deprecated. Use the class methods to interact with this field so internal state can be maintained.* |\n| ` public float` | [endY](/reference/com/google/android/material/shape/ShapePath.PathQuadOperation#endY) *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| ` `[PathQuadOperation](/reference/com/google/android/material/shape/ShapePath.PathQuadOperation#PathQuadOperation())`() ` |\n\n| ### Public methods ||\n|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` void` | ` `[applyToPath](/reference/com/google/android/material/shape/ShapePath.PathQuadOperation#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### controlX\n\n```\npublic float controlX\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### controlY\n\n```\npublic float controlY\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### endX\n\n```\npublic float endX\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### endY\n\n```\npublic float endY\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### PathQuadOperation\n\n```\npublic PathQuadOperation ()\n```\n\n\u003cbr /\u003e\n\n\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 |"]]