Class

RemotePathNode.RelativeArcTo

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

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
public data class RelativeArcTo(
        val horizontalEllipseRadius: RemoteFloat,
        val verticalEllipseRadius: RemoteFloat,
        val theta: RemoteFloat,
        val isMoreThanHalf: RemoteBoolean,
        val isPositiveArc: RemoteBoolean,
        val arcStartDx: RemoteFloat,
        val arcStartDy: RemoteFloat,
    ) : RemotePathNode()

Draws an elliptical arc from the current point to a new point using relative 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.
arcStartDx The relative x-offset of the arc's end point.
arcStartDy The relative y-offset of the arc's end point.