createPen

fun createPen(penType: Int, config: PenConfig): Long(source)

Creates a renderer for penType using a snapshot of config.

Return

an opaque pen handle used by the stroke lifecycle methods