Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > IBubble > moveTo
Metoda IBubble.moveTo()
Przenieś dymek do określonej lokalizacji we współrzędnych obszaru roboczego.
Podpis:
moveTo(x: number, y: number): void;
Parametry
Parametr |
Typ |
Opis |
x |
liczba |
Pozycja na osi x, do której ma zostać przesunięta. |
y |
liczba |
Pozycja na osi Y, do której ma zostać przesunięta. |
Zwroty:
nieważne
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-09-20 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2024-09-20 UTC."],[[["The `IBubble.moveTo()` method repositions a bubble within the workspace using provided x and y coordinates."],["It accepts two arguments: `x` and `y`, both of type number, representing the target horizontal and vertical positions respectively."],["The method does not return any value (void) after execution."]]],["The `moveTo()` method of the `IBubble` interface relocates a bubble within the workspace. It accepts two parameters: `x` and `y`, both of which are numbers representing the target coordinates. The `x` parameter defines the horizontal position, and the `y` parameter defines the vertical position. This method does not return any value (void).\n"]]