Skip to main content

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

Constructors

Constructor

Modifiers

Description

(constructor)(constants, icon)

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

Properties

Property

Modifiers

Type

Description

flipRtl

boolean

icon

BlocklyIcon