PathNode.RelativeArcTo


Draws an elliptical arc from the current point to a new point using relative coordinates. Corresponds to the a path data command.

Summary

Public constructors

RelativeArcTo(
    horizontalEllipseRadius: Float,
    verticalEllipseRadius: Float,
    theta: Float,
    isMoreThanHalf: Boolean,
    isPositiveArc: Boolean,
    arcStartDx: Float,
    arcStartDy: Float
)
Cmn

Public properties

Float

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

Cmn
Float

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

Cmn
Float

The radius of the ellipse on the x-axis.

Cmn
Boolean

If true, the larger of the two possible arcs is chosen.

Cmn
Boolean

If true, the arc is drawn in a "positive-angle" direction.

Cmn
Float

The rotation angle of the ellipse in degrees.

Cmn
Float

The radius of the ellipse on the y-axis.

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

RelativeArcTo

RelativeArcTo(
    horizontalEllipseRadius: Float,
    verticalEllipseRadius: Float,
    theta: Float,
    isMoreThanHalf: Boolean,
    isPositiveArc: Boolean,
    arcStartDx: Float,
    arcStartDy: Float
)
Parameters
horizontalEllipseRadius: Float

The radius of the ellipse on the x-axis.

verticalEllipseRadius: Float

The radius of the ellipse on the y-axis.

theta: Float

The rotation angle of the ellipse in degrees.

isMoreThanHalf: Boolean

If true, the larger of the two possible arcs is chosen.

isPositiveArc: Boolean

If true, the arc is drawn in a "positive-angle" direction.

arcStartDx: Float

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

arcStartDy: Float

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

Public properties

arcStartDx

val arcStartDxFloat

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

arcStartDy

val arcStartDyFloat

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

horizontalEllipseRadius

val horizontalEllipseRadiusFloat

The radius of the ellipse on the x-axis.

isMoreThanHalf

val isMoreThanHalfBoolean

If true, the larger of the two possible arcs is chosen.

isPositiveArc

val isPositiveArcBoolean

If true, the arc is drawn in a "positive-angle" direction.

theta

val thetaFloat

The rotation angle of the ellipse in degrees.

verticalEllipseRadius

val verticalEllipseRadiusFloat

The radius of the ellipse on the y-axis.