Skip to content

PatternsDarkTheme

Type class

"Patterns Dark": the dark counterpart to Patterns, with gray interface colors on a dark background. Filled series take the same shades of gray, but with black patterns on top, which read as dark cuts into the gray. Line series are told apart by stroke width and dash.

Like Patterns, it tells series apart by texture rather than hue, so it stays legible for all forms of color blindness.

More info: Patterns: pattern sets

More info: Themes

Sources

This information about PatternsDarkTheme is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.

Inheritance

PatternsDarkTheme extends Theme.

PatternsDarkTheme is not extended by any other symbol.

Properties

PatternsDarkTheme does not have any properties.

Methods

constructor(root: Root,
isReal: boolean
)

Returns PatternsDarkTheme

3 inherited items
new(root: Root)

StaticReturns InstanceTypeInherited from Theme

Use this method to create an instance of this class.

More info: Getting started: new element syntax

rule(themeClass: K,
themeTags: Array
)

Returns TemplateInherited from Theme

Returns the rule for a class and theme tags, as a Template. Settings set on it go to every element of that class (or a class extending it) that has all of these tags. The same class and tags return the same rule.

More info: Themes

ruleRaw(themeClass: string,
themeTags: Array
)

Returns TemplateInherited from Theme

Same as rule(), but takes any class name, without type checks.

More info: Themes

Events

PatternsDarkTheme does not have any events.