Stay organized with collections
Save and categorize content based on your preferences.
ShapePath.PathLineOperation
public
static
class
ShapePath.PathLineOperation
extends ShapePath.PathOperation
Straight line operation.
Summary
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
PathLineOperation
public PathLineOperation ()
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.PathLineOperation\n\nSummary: [Inherited Fields](#inhfields) \\| [Ctors](#pubctors) \\| [Methods](#pubmethods) \\| [Inherited Methods](#inhmethods) \n\nShapePath.PathLineOperation\n===========================\n\n\n`\npublic\nstatic\n\n\nclass\nShapePath.PathLineOperation\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.PathLineOperation |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nStraight line 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| ` `[PathLineOperation](/reference/com/google/android/material/shape/ShapePath.PathLineOperation#PathLineOperation())`() ` |\n\n| ### Public methods ||\n|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` void` | ` `[applyToPath](/reference/com/google/android/material/shape/ShapePath.PathLineOperation#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### PathLineOperation\n\n```\npublic PathLineOperation ()\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 |"]]