Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > blockRendering > Ikona
Klasa blockRendering.Icon
Obiekt z informacjami o miejscu zajmowanym przez ikonę podczas renderowania.
Podpis:
export declare class Icon extends Measurable
Rozszerza: wymierne
Zespoły
Właściwości
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: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],["The `blockRendering.Icon` class, extending `Measurable`, manages the space an icon occupies during rendering. It's constructed with rendering constants and an `BlocklyIcon` instance. Key properties include `flipRtl`, a boolean indicating if the icon should be flipped in right-to-left layouts, and `icon`, a `BlocklyIcon` object representing the specific icon. This class defines how much space the visual icon will occupy, including constructor's information.\n"]]