Skip to content

marble3 / OutlinedTextOptions

Interface: OutlinedTextOptions ​

Defined in: src/billboard.ts:22

Properties ​

fill? ​

optional fill?: string

Defined in: src/billboard.ts:30

Text colour. Default white.


font? ​

optional font?: string

Defined in: src/billboard.ts:28

A CSS font. Default 700 62px system-ui, sans-serif.


height? ​

optional height?: number

Defined in: src/billboard.ts:26

Canvas height, in pixels. Default 128.


lineWidth? ​

optional lineWidth?: number

Defined in: src/billboard.ts:34

Outline width, in pixels. Default 8.


outline? ​

optional outline?: string

Defined in: src/billboard.ts:32

Outline colour. Default a soft dark.


width? ​

optional width?: number

Defined in: src/billboard.ts:24

Canvas width, in pixels. Default 512.