PathNode.RelativeQuadTo


Draws a quadratic Bézier curve from the current point to a new point using relative coordinates. Corresponds to the q path data command.

Summary

Public constructors

RelativeQuadTo(dx1: Float, dy1: Float, dx2: Float, dy2: Float)
Cmn

Public properties

Float

The relative x-offset of the control point.

Cmn
Float

The relative x-offset of the curve's end point.

Cmn
Float

The relative y-offset of the control point.

Cmn
Float

The relative y-offset of the curve's end point.

Cmn

Inherited properties

From androidx.compose.ui.graphics.vector.PathNode
Boolean

true if this command is a cubic Bézier curve, false otherwise.

Cmn
Boolean

true if this command is a quadratic Bézier curve, false otherwise.

Cmn

Public constructors

RelativeQuadTo

RelativeQuadTo(dx1: Float, dy1: Float, dx2: Float, dy2: Float)
Parameters
dx1: Float

The relative x-offset of the control point.

dy1: Float

The relative y-offset of the control point.

dx2: Float

The relative x-offset of the curve's end point.

dy2: Float

The relative y-offset of the curve's end point.

Public properties

dx1

val dx1Float

The relative x-offset of the control point.

dx2

val dx2Float

The relative x-offset of the curve's end point.

dy1

val dy1Float

The relative y-offset of the control point.

dy2

val dy2Float

The relative y-offset of the curve's end point.