ReflectiveCurveTo
class ReflectiveCurveTo(values: List<String>, isRelative: Boolean, minified: Boolean) : PathNodes, ControlPoint1, ControlPoint2(source)
The ReflectiveCurveTo represents the SVG/AVG "smooth cubic Bézier" command.
This command creates a smooth curve between two points using a reflection of the control point used in previous commands.
The x1, y1 coordinates represent the first control point for the curve, while x2, y2 represent the endpoint of the curve.
The class contains an overridden materialize function which returns a String representation of the SVG/AVG command in the form required by the Compose path functions.
Properties
Functions
Link copied to clipboard
fun copy(x1: Double = this.x1, y1: Double = this.y1, x2: Double = this.x2, y2: Double = this.y2, isRelative: Boolean = this.isRelative, minified: Boolean = this.minified, shouldClose: Boolean = this.shouldClose): PathNodes.ReflectiveCurveTo
Creates a copy of the ReflectiveCurveTo command with the specified values.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard