Command

Low-level drawing commands for TinyVG

Command

Represent a drawing command such as DrawLines or FillRectangles.

fillRectangles : Style, List PositionSize -> Command

Fill a list of rectangles with a style.

fillPath : Style, Position, List PathNode -> Command

Fill a path with a style.

outlineFillRectangles : { fillStyle : Style, lineStyle : Style, lw ? LineWidth }, List PositionSize -> Command

Fill a list of rectangles with a style and outline them with another style.

drawLines : { style : Style, lw ? LineWidth }, List ( Position, Position ) -> Command

Draw a list of lines with a style.

toText : Command -> Str

Build TVG text format string