Path

fun Path(fillRule: FillRule = DEFAULT_FILL_RULE, block: PathScope.() -> Unit): Path

A path which contains a mathematical description of shapes or lines to be drawn on a Canvas.

Parameters

fillRule

The path's fill type. Defines how "inside" is computed

block

The lambda callback to issue path commands