PathNode.CurveTo
-
Cmn
data class PathNode.CurveTo : PathNode
| kotlin.Any | ||
| ↳ | androidx.compose.ui.graphics.vector.PathNode | |
| ↳ | androidx.compose.ui.graphics.vector.PathNode.CurveTo |
Draws a cubic Bézier curve from the current point to a new point using absolute coordinates. Corresponds to the C path data command.
Summary
Public properties |
||
|---|---|---|
Float |
The absolute x-coordinate of the first control point. |
Cmn
|
Float |
The absolute x-coordinate of the second control point. |
Cmn
|
Float |
The absolute x-coordinate of the curve's end point. |
Cmn
|
Float |
The absolute y-coordinate of the first control point. |
Cmn
|
Float |
The absolute y-coordinate of the second control point. |
Cmn
|
Float |
The absolute y-coordinate of the curve's end point. |
Cmn
|
Inherited properties |
|---|
Public constructors
CurveTo
CurveTo(x1: Float, y1: Float, x2: Float, y2: Float, x3: Float, y3: Float)
| Parameters | |
|---|---|
x1: Float |
The absolute x-coordinate of the first control point. |
y1: Float |
The absolute y-coordinate of the first control point. |
x2: Float |
The absolute x-coordinate of the second control point. |
y2: Float |
The absolute y-coordinate of the second control point. |
x3: Float |
The absolute x-coordinate of the curve's end point. |
y3: Float |
The absolute y-coordinate of the curve's end point. |