configure

fun GroupNode.configure(layerName: String = "layer", penSpeed: Int? = null, penHeight: Int? = null, plotDelay: Int? = null, layerMode: AxiLayerMode = AxiLayerMode.DEFAULT)(source)

Configure an SVG layer name. Certain character sequences are used by the Axidraw software to control layer speed, height and delay. Other characters make the layer be ignored, or trigger a pause. The arguments in this function provide a typed approach to construct the layer name. See https://wiki.evilmadscientist.com/AxiDraw_Layer_Control

Parameters

layerName

Human-readable layer name. Multiple layer can use the same name.

penSpeed

Pen down speed (1..100)

penHeight

Pen down height (0..100)

plotDelay

Delay before plotting this layer, in milliseconds

layerMode

The plotting mode for this layer. See AxiLayerMode.