Skip to content

@jsvision/core / Style

Interface: Style ​

Defined in: render/types.ts:52

A foreground/background/attribute style; used by every drawing helper.

Properties ​

attrs? ​

readonly optional attrs?: number

Defined in: render/types.ts:56

Attribute bitmask; defaults to Attr.none.


bg ​

readonly bg: Color

Defined in: render/types.ts:54


fg ​

readonly fg: Color

Defined in: render/types.ts:53