Skip to content

Documentation / @debuffjp/core / TextDrawOptions

Interface: TextDrawOptions ​

Defined in: render/draw.ts:33

Properties ​

align? ​

optional align?: "center" | "left" | "right"

Defined in: render/draw.ts:37


alpha? ​

optional alpha?: number

Defined in: render/draw.ts:39


baseline? ​

optional baseline?: "bottom" | "middle" | "top"

Defined in: render/draw.ts:38


color? ​

optional color?: Color

Defined in: render/draw.ts:36


font? ​

optional font?: string | BitmapFont

Defined in: render/draw.ts:35

CSS font, e.g. "16px monospace", or a BitmapFont. Default "8px monospace".