Protected
_colorsStores a collection of color settings grouped by context (type or module name).
Protected
_contextStores arbitrary string settings grouped by context (eg. some module, stencil type, etc.).
Protected
_fontA collection of font family settings for different contexts (type or module names).
Default background color.
Default background color set.
Default color.
Default fill color.
Default fill color set.
Default collection of font families.
Default font family.
Default font size.
Default stroke (line) color.
Default stroke (line, outline) color set.
Default stroke width.
Array of default stroke width options (in pixels).
Default text (font) color.
Default colors for text.
Returns a color setting by provided context and type of color.
type or module name
color kind (text, fill, stroke, etc.)
CSS color string for the context-type pair or the default color for the type.
Returns an arbitrary string setting for provided context and setting name.
dashhArray = settings.getContextString('DiamondStencil', 'strokeDashArray');
type or module name (or other context collection)
setting name
string setting for context-name pair or undefined, if not found.
Gets the stroke dash array setting for the provided type (context) or the default stroke dash array, if not found.
type or module name (or other context)
stroke dash array for the context or the defaultStrokeDasharray.
Returns a contextual collection of font families.
setting group (stencil or connector type, etc.)
collection of font families for the context.
Returns special font family for the provided context or the default font family.
type or module name (or other context)
custom font family for the context or defaultFontFamily
Returns a custom font size for the specified context or the default font size.
type or module name
custom font size or defaultFontSize
Returns stroke width for the specified context (type or module name) or the default stroke width.
type or module name
stroke width for the context or defaultStrokeWidth
Sets contextual color setting value.
setting group (stencil or connector type, etc.)
type of color (text, stroke, fill, etc.)
string color value.
Sets a contextual collection of font families.
setting group (stencil or connector type, etc.)
array of font families.
Sets custom font size for the supplied context.
type or module name
font size value
Generated using TypeDoc
Editor settings is a class for holding the default and custom settings for stencils and connector types.