The string index, allowing for any other ThemeValues object
Optional
arrowheadsThe arrowheads used for Link shapes. Values should correspond with valid arrowhead names for Shape.fromArrow and Shape.toArrow.
Built-in themes provide a toArrow
value for the default link template.
Optional
colorsThe colors used by the theme. See ThemeColors.
Optional
fontsThe fonts used by the theme.
Built-in themes provide values for normal
and bold
fonts.
Optional
marginsThe Margins used by the theme.
Built-in themes provide a group
value for the default Group template's Placeholder.padding.
Optional
numbersThe numbers used by the theme, most commonly specifying stroke widths.
Built-in themes provide values for group
and selection
stroke widths.
Optional
pointsThe Points used by the theme.
Optional
rectsThe Rects used by the theme.
Optional
sizesThe Sizes used by the theme.
Optional
spotsThe Spots used by the theme.
Optional
targetA map of GraphObject target properties to Theme objects. This determines where a lookup will occur for a given property. For example, one might map Shape.fill to the colors object via "fill" -> "colors".
If not defined, or a target property is missing, some sensible defaults are provided.
An interface describing a theme.
The various optional properties this interface provides are the default object names used to lookup some binding target properties. For example, Panel.padding is looked up in the margins object and Shape.strokeWidth and GraphObject.opacity are looked up in the numbers object.
While the indexer can be used for other arbitrary objects, we suggest using the optional named properties here for their respective purposes.
since
3.0