ReflectiveQuadTo
class ReflectiveQuadTo(values: List<String>, isRelative: Boolean, minified: Boolean) : PathNodes, ControlPoint1(source)
The ReflectiveQuadTo represents the SVG/AVG "reflective quadratic Bézier curve to" command, which is used to create a smooth quadratic Bézier curve.
It's a type of PathNodes which holds SVG/AVG command parameters.
The curve is reflective of the control point of the previous command for creating a smooth curve. The curve ends at the point denoted by the coordinates (x1, y1), with the control point being the reflection of the control point on the previous command relative to the starting point.
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, isRelative: Boolean = this.isRelative, minified: Boolean = this.minified, shouldClose: Boolean = this.shouldClose): PathNodes.ReflectiveQuadTo
Creates a copy of the ReflectiveQuadTo command with the given parameters.
Link copied to clipboard
Link copied to clipboard