Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
блочно > IMetricsManager > getAbsoluteMetrics
Метод IMetricsManager.getAbsoluteMetrics()
Получает абсолютное левое и абсолютное верхнее положение в пиксельных координатах. Здесь начинается видимое рабочее пространство по отношению к SVG-контейнеру.
Подпись:
getAbsoluteMetrics(): AbsoluteMetrics;
Возврат:
АбсолютМетрики
Абсолютные метрики рабочей области.
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-25 UTC.
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-07-25 UTC."],[[["The `getAbsoluteMetrics()` method provides the workspace's absolute position within its SVG container."],["It returns an `AbsoluteMetrics` object containing the absolute left and top coordinates in pixels."],["These coordinates represent where the visible workspace begins relative to the SVG container's origin."]]],["The `getAbsoluteMetrics()` method, part of the `IMetricsManager` interface, retrieves the absolute positioning of the visible workspace within the SVG container. It returns the absolute left and top coordinates, measured in pixels, representing where the workspace begins. The method's signature is `getAbsoluteMetrics(): AbsoluteMetrics`, and it outputs an `AbsoluteMetrics` object that contains the workspace's metrics.\n"]]