blockly > WorkspaceSvg > getScale

WorkspaceSvg.getScale() 方法

取得工作區的縮放係數。

Signature:

getScale(): number;

退貨:

數字

工作區縮放係數。單位:(像素 / 工作區單位)。