| Modifier and Type | Method and Description |
|---|---|
Path |
Path.bezierTo(float c1x,
float c1y,
float c2x,
float c2y,
float x,
float y)
Adds a bezier curve to the path, from the current position to the specified target, using the
supplied control points.
|
Path |
Path.close()
Closes the path, returning the position to the beginning of the first stroke.
|
abstract Path |
Graphics.createPath()
Creates a
Path object. |
Path |
Canvas.createPath()
Creates a path object.
|
Path |
Path.lineTo(float x,
float y)
Adds a line to the path, from the current position to the specified target.
|
Path |
Path.moveTo(float x,
float y)
Moves the position to the given location.
|
Path |
Path.quadraticCurveTo(float cpx,
float cpy,
float x,
float y)
Adds a quadratic curve to the path, from the current position to the specified target, with
the specified control point.
|
Path |
Path.reset()
Resets the current path, removing all strokes and moving the position to (0, 0).
|
| Modifier and Type | Method and Description |
|---|---|
abstract Canvas |
Canvas.clip(Path clipPath)
Intersects the current clip with the specified path.
|
abstract Canvas |
Canvas.fillPath(Path path)
Fills the specified path.
|
abstract Canvas |
Canvas.strokePath(Path path)
Strokes the specified path.
|
Copyright © 2018. All Rights Reserved.