blockly > blockRendering > Ikona
Klasa blockRendering.Icon
Obiekt zawierający informacje o miejscu zajmowanym przez ikonę podczas renderowania.
Podpis:
export declare class Icon extends Measurable
Rozszerza: Wymierne
Zespoły
Zespół |
Modyfikatory |
Opis |
(konstruktor)(stałe, ikona) |
|
Obiekt zawierający informacje o miejscu, jakie zajmuje ikona podczas renderowania. |
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: 2024-11-08 UTC.
[null,null,["Ostatnia aktualizacja: 2024-11-08 UTC."],[[["The `blockRendering.Icon` class stores information about the space an icon occupies during rendering within Blockly."],["It inherits from the `Measurable` class and includes properties like `flipRtl` (boolean) and `icon` (BlocklyIcon) to manage icon behavior and appearance."],["Constructed with rendering constants and the icon itself, this class helps define how icons are displayed within Blockly blocks."]]],["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"]]