blockly > MetricsManager
MetricsManager namespace
Signature:
export declare namespace MetricsManager
Interfaces
Interface |
Description |
AbsoluteMetrics |
Describes where the viewport starts in relation to the workspace SVG. |
ContainerRegion |
All the measurements needed to describe the size and location of a container. |
FixedEdges |
Describes fixed edges of the workspace. |
ToolboxMetrics |
Describes the width, height and location of the toolbox on the main workspace. |
UiMetrics |
Common metrics used for UI elements. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["The MetricsManager namespace provides interfaces for measuring and describing UI elements within the Blockly workspace."],["These interfaces define properties for workspace edges, toolbox location and dimensions, and viewport positioning relative to the SVG."],["Key interfaces within MetricsManager include AbsoluteMetrics, ContainerRegion, FixedEdges, ToolboxMetrics, and UiMetrics, each serving a distinct measurement purpose."]]],[]]