blockly >IIcon>getWeight

IIcon.getWeight() 方法

Signature:

getWeight(): number;

返回

number

“权重”图标的样式,该顺序决定了图标的呈现静态顺序。越靠近块末端的正数呈现。