1681-engine / pixel / FRAME_CORNERS
Variable: FRAME_CORNERS ​
ts
const FRAME_CORNERS: object;Defined in: src/pixel/nineSlice.ts:19
Ready corners in the roles the default twins know: K ink, H/L lit/dark rim, M/m rim, G/g gap, S/s bevel, F fill, D/d lip, R rivet.
Type Declaration ​
button ​
ts
readonly button: readonly [".KKKK", "KHHHH", "KHMMM", "KHMFF", "KHMFF"];A raised button: a two-step bevel, notched. Give it shadow [0, 1]; pressed, offset [0, 1] with the bevel's colours swapped.
field ​
ts
readonly field: readonly [".KKKK", "KDDDD", "KDGGG", "KDGFF", "KDGFF"];A text field: a hole in the stone, its lip in shadow top-left (D, G) and lit bottom-right (d, g).
panel ​
ts
readonly panel: readonly ["..KKKKKK", ".KHHHHHH", "KHHMMMMM", "KHMKGGGG", "KHMGRSSS", "KHMGSFFF", "KHMGSFFF", "KHMGSFFF"];A window: ink, a two-step brass rim, a gap, a lit bevel, a rivet in the corner.
row ​
ts
readonly row: readonly [".KK", "KSS", "KSF"];A list row: a flat slab lit on the top and left.
smallButton ​
ts
readonly smallButton: readonly [".KKK", "KHHH", "KHMM", "KHMF"];A small raised button.
thin ​
ts
readonly thin: readonly [".KK", "KHH", "KHF"];A thin frame: one pixel of rim (toasts, a cast bar).
well ​
ts
readonly well: readonly [".KK", "KDD", "KDF"];A sunk well (slots, bars' tracks).