Class

PathNode.ReflectiveQuadTo

Draws a smooth quadratic Bézier curve using absolute coordinates.

Source set: Common
public data class ReflectiveQuadTo(public val x: Float, public val y: Float) :
        PathNode(isQuad = true)

Draws a smooth quadratic Bézier curve using absolute coordinates. This command ensures a seamless connection by inferring its control point as a reflection of the control point of the preceding command. Corresponds to the T path data command.

Parameters

x The absolute x-coordinate of the curve's end point.
y The absolute y-coordinate of the curve's end point.
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: