copy

fun copy(x: Double = this.x, isRelative: Boolean = this.isRelative, minified: Boolean = this.minified, shouldClose: Boolean = this.shouldClose): PathNodes.HorizontalLineTo(source)

Creates a copy of this HorizontalLineTo command.

Return

a copy of the current HorizontalLineTo command

Parameters

x

the horizontal coordinate for the end point of this line

isRelative

whether this is a relative command or not

minified

whether the output of materialize should be minified or not.

shouldClose

whether the path should be closed after this command