blockly > icons > Icon > (constructor)

icons.Icon.(constructor)

Constructs a new instance of the Icon class

Signature:

constructor(sourceBlock: Block);

Parameters

Parameter Type Description
sourceBlock Block