Class

RemotePathNode.ArcTo

Draws an elliptical arc from the current point to a new point using absolute coordinates.

Source set: JvmAndAndroid
public data class ArcTo(
        val horizontalEllipseRadius: RemoteFloat,
        val verticalEllipseRadius: RemoteFloat,
        val theta: RemoteFloat,
        val isMoreThanHalf: RemoteBoolean,
        val isPositiveArc: RemoteBoolean,
        val arcStartX: RemoteFloat,
        val arcStartY: RemoteFloat,
    ) : RemotePathNode()

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

Parameters

horizontalEllipseRadius The radius of the ellipse on the x-axis.
verticalEllipseRadius The radius of the ellipse on the y-axis.
theta The rotation angle of the ellipse in degrees.
isMoreThanHalf If true, the larger of the two possible arcs is chosen.
isPositiveArc If true, the arc is drawn in a "positive-angle" direction.
arcStartX The absolute x-coordinate of the arc's end point.
arcStartY The absolute y-coordinate of the arc'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: