blockly > blockRendering > PathObject > setCursorSvg
Metoda blockRendering.PathObject.setCursorSvg()
Dodaj kursor SVG do grupy SVG tego bloku.
Podpis:
setCursorSvg(cursorSvg: SVGElement): void;
Parametry
Parametr |
Typ |
Opis |
cursorSvg |
SVGElement |
Główny element SVG kursora, który ma zostać dodany do grupy bloków SVG. |
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-08-21 UTC.
[null,null,["Ostatnia aktualizacja: 2024-08-21 UTC."],[[["The `setCursorSvg` method appends an SVG element representing a cursor to the block's SVG group."],["It takes one argument, `cursorSvg`, which is the SVG element of the cursor to be added."],["Calling this method visually integrates a cursor into the block's representation."]]],[]]