Skip to content

Documentation / @debuffjp/core / TextDrawOptions

Interface: TextDrawOptions ​

Defined in: render/draw.ts:34

Properties ​

align? ​

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

Defined in: render/draw.ts:38


alpha? ​

optional alpha?: number

Defined in: render/draw.ts:40


baseline? ​

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

Defined in: render/draw.ts:39


color? ​

optional color?: Color

Defined in: render/draw.ts:37


font? ​

optional font?: string | BitmapFont

Defined in: render/draw.ts:36

A BitmapFont, or a CSS font such as "16px monospace". Default: debuff sans, the built-in pixel font.