Skip to content

PatternsTheme

Type class

"Patterns": a black-and-white light theme in the spirit of engraved or newspaper charts. Filled series take shades of gray, each with its own white pattern (hatches, dots, stars, triangles, grids) on top. Line series take the grays too, told apart by stroke width and dash.

As series differ by texture and tone rather than hue, it prints cleanly and stays legible for all forms of color blindness.

More info: Patterns: pattern sets

More info: Themes

Sources

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

Inheritance

PatternsTheme extends Theme.

PatternsTheme is not extended by any other symbol.

Properties

PatternsTheme does not have any properties.

Methods

constructor(root: Root,
isReal: boolean
)

Returns PatternsTheme

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

PatternsTheme does not have any events.