layer

fun layer(name: String, drawFunction: DrawFunction)(source)

Draws to the given layer. If the layer with given name already exists, it is replaced.