blockly > blockRendering > SpacerRow > (建構函式)
blockRendering.SpacerRow.(constructor)
建構 SpacerRow
類別的新執行個體
Signature:
constructor(constants: ConstantProvider, height: number, width: number);
參數
參數 | 類型 | 說明 |
---|---|---|
constants | ConstantProvider | 算繪常數提供者。 |
height | 號碼 | 空格字元的高度。 |
width | 號碼 | 空格字元的寬度。 |