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

blockly > blockRendering > Icon

blockRendering.Icon class

An object containing information about the space an icon takes up during rendering

Signature:

export declare class Icon extends Measurable 

Extends: Measurable

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 Icon class.

Properties

Property Modifiers Type Description
flipRtl boolean
icon BlocklyIcon
isVisible boolean