Ir al contenido

Theme

Defined in: theme/Theme.ts:37

GoJS-compatible: a named collection of theme values (colors, fonts, numbers, etc.) that ThemeBinding/GraphObject.theme() look values up from.

[index: string]: Map<string, string> | ThemeValues<unknown> | undefined

optional arrowheads?: ThemeValues<string>

Defined in: theme/Theme.ts:46


optional colors?: ThemeColors

Defined in: theme/Theme.ts:38


optional fonts?: ThemeValues<string>

Defined in: theme/Theme.ts:39


optional margins?: ThemeValues<Margin>

Defined in: theme/Theme.ts:44


optional numbers?: ThemeValues<number>

Defined in: theme/Theme.ts:40


optional points?: ThemeValues<Point>

Defined in: theme/Theme.ts:41


optional rects?: ThemeValues<Rect>

Defined in: theme/Theme.ts:43


optional sizes?: ThemeValues<Size>

Defined in: theme/Theme.ts:42


optional spots?: ThemeValues<Spot>

Defined in: theme/Theme.ts:45


optional targetPropertyMap?: Map<string, string>

Defined in: theme/Theme.ts:48

Maps a GraphObject target property name (e.g. "fill") to the Theme sub-object to search (e.g. "colors").