blockly > Flyout > positionAt_

Flyout.positionAt_() 方法

根據 location() 中計算的座標更新檢視畫面。

Signature:

protected positionAt_(width: number, height: number, x: number, y: number): void;

參數

參數 類型 說明
width 號碼 Flyout 的 SVG 群組計算寬度
height 號碼 飛航 SVG 群組的運算高度。
x 號碼 Flyout 的 SVG 群組計算出的 x 來源。
y 號碼 Flyout 的 SVG 群組計算出的 y 來源。

傳回:

void