Skip to content

Shapes & Styling

Veyrajs ships seven shape types — Rect, Circle, Ellipse, Line, Polygon, Text, and Image. Here they all are on a single layer. Switch to the Code tab to see exactly how each one is constructed.

Every node carries a position, rotation, scale, and an offset (its pivot). Drag the sliders to see how they compose — the amber dot marks the pivot the rect rotates and scales around.