Stay organized with collections
Save and categorize content based on your preferences.
ShapePath.PathCubicOperation
public
static
class
ShapePath.PathCubicOperation
extends ShapePath.PathOperation
Path cubic operation.
Summary
Public constructors |
PathCubicOperation(float controlX1, float controlY1, float controlX2, float controlY2, float endX, float endY)
|
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()
|
|
Public constructors
PathCubicOperation
public PathCubicOperation (float controlX1,
float controlY1,
float controlX2,
float controlY2,
float endX,
float endY)
Parameters |
controlX1 |
float |
controlY1 |
float |
controlX2 |
float |
controlY2 |
float |
endX |
float |
endY |
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.PathCubicOperation\n\nSummary: [Inherited Fields](#inhfields) \\| [Ctors](#pubctors) \\| [Methods](#pubmethods) \\| [Inherited Methods](#inhmethods) \n\nShapePath.PathCubicOperation\n============================\n\n\n`\npublic\nstatic\n\n\nclass\nShapePath.PathCubicOperation\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.PathCubicOperation |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nPath cubic operation.\n\nSummary\n-------\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| ` `[PathCubicOperation](/reference/com/google/android/material/shape/ShapePath.PathCubicOperation#PathCubicOperation(float,%20float,%20float,%20float,%20float,%20float))`(float controlX1, float controlY1, float controlX2, float controlY2, float endX, float endY) ` |\n\n| ### Public methods ||\n|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` void` | ` `[applyToPath](/reference/com/google/android/material/shape/ShapePath.PathCubicOperation#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\nPublic constructors\n-------------------\n\n### PathCubicOperation\n\n```\npublic PathCubicOperation (float controlX1, \n float controlY1, \n float controlX2, \n float controlY2, \n float endX, \n float endY)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-------------|----------------|\n| `controlX1` | `float` \u003cbr /\u003e |\n| `controlY1` | `float` \u003cbr /\u003e |\n| `controlX2` | `float` \u003cbr /\u003e |\n| `controlY2` | `float` \u003cbr /\u003e |\n| `endX` | `float` \u003cbr /\u003e |\n| `endY` | `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 |"]]