copy

fun copy(x1: Double = this.x1, y1: Double = this.y1, x2: Double = this.x2, y2: Double = this.y2, x3: Double = this.x3, y3: Double = this.y3, isRelative: Boolean = this.isRelative, minified: Boolean = this.minified, shouldClose: Boolean = this.shouldClose): PathNodes.CurveTo(source)

Creates a copy of the CurveTo command with the specified values.

Return

A new CurveTo command.

Parameters

x1

The x-coordinate of the first control point.

y1

The y-coordinate of the first control point.

x2

The x-coordinate of the second control point.

y2

The y-coordinate of the second control point.

x3

The x-coordinate of the end point.

y3

The y-coordinate of the end point.

isRelative

Whether the command is relative.

minified

whether the output of materialize should be minified or not.

shouldClose

Whether the command should be closed.