Sigil

Path

A vector path.

GUITUIRuns in the browserpath

Preview

Path, Default, light themePath, Default, dark theme

Usage example

fn path_demo() -> PathNode {    path(24, 24)        .move_to(4.0, 20.0)        .line_to(12.0, 4.0)        .line_to(20.0, 20.0)        .close()        .fill(BLUE)        .fit()}

API

NameSignaturePurpose
pathconst fn path(width: u32, height: u32) -> PathNodeA vector path.