Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
блочно > RenderedConnection > moveBy
Метод RenderedConnection.moveBy()
Измените координаты соединения.
Подпись:
moveBy(dx: number, dy: number): boolean;
Параметры
Параметр | Тип | Описание |
---|
дх | число | Измените координату x в единицах рабочей области. |
умри | число | Измените координату Y в единицах рабочей области. |
Возврат:
логическое значение
Истинно, если позиция соединения в базе данных соединения была обновлена.
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 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-24 UTC."],[[["This page provides access to documentation for the `Reference` class within the `google.cloud.osconfig_v1alpha.types` module."],["The `Reference` class is used to represent a reference for a vulnerability, including a URL pointing to more information."],["Documentation is available for various versions of the OS Config library, ranging from 0.1.2 to the latest 1.17.5."],["Users can select their desired version to access the corresponding documentation."]]],["The `moveBy` method of the `RenderedConnection` class alters a connection's coordinates. It accepts two numerical parameters, `dx` and `dy`, representing the change in the x and y coordinates, respectively, in workspace units. This method then updates the connection's position accordingly. The method returns a boolean value, which indicates if the connection's position was updated.\n"]]