Stay organized with collections Save and categorize content based on your preferences.

blockly > zelos > PathObject

zelos.PathObject class

An object that handles creating and setting each of the SVG elements used by the renderer.

Signature:

export declare class PathObject extends BasePathObject 

Extends: BasePathObject

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the PathObject class.

Properties

Property Modifiers Type Description
outputShapeType number | null The type of block's output connection shape. This is set when a block with an output connection is drawn.

Methods

Method Modifiers Description
applyColour(block)
flipRTL()
setPath(pathString)
updateReplacementFade(enable)
updateSelected(enable)
updateShapeForInputHighlight(conn, enable)