setCanvas(w: ?, h: ?) → void
displayStyle(size: ?, colour: ?) → void
Thick cream display type with the coral outline the references use for
every number and every heading. The depth is the outline itself: a text
shadow in this renderer draws as a dithered band, which reads as noise.
| arg | type | description |
|---|
| size | ? | |
| colour | ? | |
coralStyle(size: ?) → void
Coral display type with a cream keyline: the inverse, for a heading that
has to sit on cream without disappearing into it.
captionStyle(size: ?, colour: ?, spacing: ?) → void
Small caps label — the supporting line under a heading.
| arg | type | description |
|---|
| size | ? | |
| colour | ? | |
| spacing | ? | |
bodyStyle(size: ?, colour: ?) → void
| arg | type | description |
|---|
| size | ? | |
| colour | ? | |
cardStyle(opts: ?) → void
The cream card with the fat coral rim: the universal Origo Party panel.
svg(node: ?, size: ?, extra: ?) → void
| arg | type | description |
|---|
| node | ? | |
| size | ? | |
| extra | ? | |
coin(size: ?) → void
The coin: a gold disc with a crown stamped in it, as hud.png draws it.
star(size: ?) → void
The Star: chunky five-point gold star with a warm rim.
die(value: ?, size: ?) → void
A die face at its value, cream cube with deep pips.
| arg | type | description |
|---|
| value | ? | |
| size | ? | |
portrait(seat: ?, size: ?, _ring: ?, id: ?) → void
The medallion portrait: the seat's portrait art, already a coral-ringed disc
on a transparent field, at the size a HUD card has room for.
| arg | type | description |
|---|
| seat | ? | |
| size | ? | |
| _ring | ? | |
| id | ? | |
vbox(style: ?, children: ?) → void
| arg | type | description |
|---|
| style | ? | |
| children | ? | |
hbox(style: ?, children: ?) → void
| arg | type | description |
|---|
| style | ? | |
| children | ? | |
vbox(style: ?, children: ?) → void
| arg | type | description |
|---|
| style | ? | |
| children | ? | |
hbox(style: ?, children: ?) → void
| arg | type | description |
|---|
| style | ? | |
| children | ? | |
label(text: ?, style: ?) → void
| arg | type | description |
|---|
| text | ? | |
| style | ? | |
stat(glyph: ?, value: ?, size: ?) → void
One count beside its glyph: coin 12 / star 2.
| arg | type | description |
|---|
| glyph | ? | |
| value | ? | |
| size | ? | |
playerCard(seat: ?, coins: ?, stars: ?, opts: ?) → void
A player's corner card: portrait medallion, coin count, star count.
`opts.pos` pins it into a corner; `opts.active` lights it as the seat whose
turn it is.
| arg | type | description |
|---|
| seat | ? | |
| coins | ? | |
| stars | ? | |
| opts | ? | |
pill(children: ?, opts: ?) → void
A cream pill with the coral rim, used for banners and readouts.
| arg | type | description |
|---|
| children | ? | |
| opts | ? | |
seatDot(seat: ?, size: ?) → void
A seat's colour chip — the little colour dot that says whose turn it is.
| arg | type | description |
|---|
| seat | ? | |
| size | ? | |