Skip to main content

Home > blockly > Flyout > positionAt_

Flyout.positionAt_() method

Update the view based on coordinates calculated in position().

Signature:

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

Parameters

ParameterTypeDescription
widthnumberThe computed width of the flyout's SVG group
heightnumberThe computed height of the flyout's SVG group.
xnumberThe computed x origin of the flyout's SVG group.
ynumberThe computed y origin of the flyout's SVG group.

Returns:

void