Scoop API

scoop:scoop.graphics:0.1.0

PathBuilder

class PathBuilder

source · line 52
public
public class PathBuilder public constructor(fillRule: FillRule = FillRule.NonZero) : Closeable

Incremental native path construction. build returns a snapshot and preserves the builder.

function build

source · line 106
public
public fun build(): Path

Returns an independent snapshot without clearing the accumulated geometry.

function reset

source · line 113
public
public fun reset(): Unit

Clears the geometry and preserves the winding rule.