blockly > FlyoutMetricsManager > getContentMetrics
FlyoutMetricsManager.getContentMetrics() method
Signature:
getContentMetrics(opt_getWorkspaceCoordinates?: boolean): {
height: number;
width: number;
top: number;
left: number;
};
Parameters
Parameter | Type | Description |
---|---|---|
opt_getWorkspaceCoordinates | boolean | (Optional) |
Returns:
{ height: number; width: number; top: number; left: number; }