Android
public data class ReflectiveCurveTo(
val x1: RemoteFloat,
val y1: RemoteFloat,
val x2: RemoteFloat,
val y2: RemoteFloat,
) : RemotePathNode(isCurve = true)
Draws a smooth cubic Bézier curve using absolute coordinates. This command ensures a seamless connection to a previous curve by inferring its first control point as a reflection of the last control point of the preceding command. Corresponds to the S path data command.
Parameters
| x1 | The absolute x-coordinate of the second control point. |
| y1 | The absolute y-coordinate of the second control point. |
| x2 | The absolute x-coordinate of the curve's end point. |
| y2 | The absolute y-coordinate of the curve's end point. |