Stay organized with collections
Save and categorize content based on your preferences.
blockly > MetricsManager > UiMetrics > viewMetrics
MetricsManager.UiMetrics.viewMetrics property
Signature:
viewMetrics: ContainerRegion;
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe \u003ccode\u003etop\u003c/code\u003e property represents the top edge of a workspace or other UI element, measured in pixels.\u003c/p\u003e\n"],["\u003cp\u003eIt is an optional property of the \u003ccode\u003eFixedEdges\u003c/code\u003e interface within Blockly's MetricsManager namespace.\u003c/p\u003e\n"],["\u003cp\u003eWhen set, it specifies the fixed vertical position of the top edge, regardless of workspace scrolling or other dynamic changes.\u003c/p\u003e\n"],["\u003cp\u003eThis property's value is a number that indicates the top position's coordinate and may be undefined.\u003c/p\u003e\n"]]],["The `viewMetrics` property, part of the `UiMetrics` interface within the `MetricsManager` namespace, is defined. It's typed as `ContainerRegion`. This property likely stores or represents the metrics related to the visible area or viewport within a user interface. It appears to define region metrics of a container.\n"],null,["[blockly](./blockly.md) \\\u003e [MetricsManager](./blockly.metricsmanager_namespace.md) \\\u003e [UiMetrics](./blockly.metricsmanager_namespace.uimetrics_interface.md) \\\u003e [viewMetrics](./blockly.metricsmanager_namespace.uimetrics_interface.viewmetrics_propertysignature.md)\n\nMetricsManager.UiMetrics.viewMetrics property\n---------------------------------------------\n\n**Signature:** \n\n viewMetrics: ContainerRegion;"]]