Whether to add a 'hat' on top of all blocks with no previous or output connections. Can be overridden by 'hat' property on Theme.BlockStyle.
Vertical padding between consecutive statement inputs.
The block styles map.
The bottom row's minimum height if it follows a statement input.
The bottom row's minimum height.
Rounded corner radius.
Padding around a block.
Cursor colour.
Padding around a stack.
Stroke of the cursor.
Width of the horizontal cursor.
The ID of the debug filter, or the empty string if no pattern is set.
The ID of the disabled pattern, or the empty string if no pattern is set.
The minimum height of a dummy input row.
The minimum height of a dummy input row in a shadow block.
The ID of the emboss filter, or the empty string if no filter is set.
The height of an empty inline input.
The height of an empty statement input. Note that in the old rendering this varies slightly depending on whether the block has external or inline inputs. In the new rendering this is consistent. It seems unlikely that the old behaviour was intentional.
The backing colour of a field's border rect.
A field's border rect default height.
A field's border rect corner radius.
A field's border rect X padding.
A field's border rect Y padding.
A checkbox field's X offset.
A colour field's default height.
A colour field's default width.
Whether or not the colour field should display its colour value on the entire block.
A dropdown field's border rect height.
Whether or not a dropdown field's div should be coloured to match the block colours.
Whether or not a dropdown field should add a border rect when in a shadow block.
Whether or not a dropdown field uses a text or SVG arrow.
A dropdown field's SVG arrow datauri.
A dropdown field's SVG arrow padding.
A dropdown field's SVG arrow size.
Text baseline. This constant is dynamically set in setFontConstants_
to be the baseline of the text based on the font used.
A field's text element's dominant baseline.
Text font family.
Point size of text.
Text font weight.
Height of text. This constant is dynamically set in setFontConstants_
to be the height of the text based on the font used.
Whether or not to show a box shadow around the widget div. This is only a feature of full block fields.
Whether text input and colour fields fill up the entire source block.
The main colour of insertion markers, in hex. The block is rendered a transparent grey by changing the fill opacity in CSS.
The insertion marker opacity.
An object containing sizing and path information about inside corners
An object containing sizing and path information about collapsed block indicators.
Height of SVG path for jagged teeth at the end of collapsed blocks.
Width of SVG path for jagged teeth at the end of collapsed blocks.
The size of large padding.
Immovable marker colour.
The size of medium-large padding.
The size of medium padding.
The minimum width of the block.
The size of an empty spacer.
An object containing sizing and path information about notches.
The height of the notch used for previous and next connections.
Offset from the left side of a block or the inside of a statement input to the left side of the notch.
The width of the notch used for previous and next connections.
An object containing sizing and path information about outside corners.
An object containing sizing and path information about puzzle tabs.
A random identifier used to ensure a unique ID is used for each filter/pattern for the case of multiple Blockly instances on a page.
Enum for connection shapes.
The size of small padding.
An object containing sizing and path information about start hats
Height of the top hat.
Width of the top hat.
Additional offset added to the statement input's width to account for the notch.
The height of the puzzle tab used for input and output connections.
The offset from the top of the block at which a puzzle tab is positioned.
Vertical overlap of the puzzle tab, used to make it look more like a puzzle piece.
The width of the puzzle tab used for input and output connections.
Offset from the top of the row for placing fields on inline input rows and statement input rows. Matches existing rendering (in 2019).
The top row's minimum height.
The top row's minimum height if it precedes a statement.
Height of the horizontal cursor.
Create any DOM elements that this renderer needs (filters, patterns, etc).
The root of the workspace's SVG.
The name to use for the CSS style tag.
The CSS selector to use.
Gets the BlockStyle for the given block style name.
The name of the block style.
The named block style, or a default style if no style with the given name was found.
Get or create a block style based on a single colour value. Generate a name for the style based on the colour.
#RRGGBB colour string.
An object containing the style and an autogenerated name for that style.
An object containing sizing and path information about collapsed block indicators.
Get an object with connection shape and sizing information based on the type of the connection.
The connection to find a shape object for
The shape object for the connection.
Fake class which should be extended to avoid inheriting static properties