Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
blockly > Symbole > IconType
Symbole.IconType-Klasse
Definiert den Typ eines Symbols, damit es aus block.getIcon abgerufen werden kann
Unterschrift:
export declare class IconType<_T extends IIcon>
Konstruktoren
Konstruktor |
Modifikatoren |
Beschreibung |
(Konstruktor)(Name) |
|
Erstellt eine neue Instanz der IconType -Klasse |
Attribute
Methoden
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[],["The `IconType` class defines icon types for retrieval from a block using `block.getIcon`. It has a constructor to create new instances and includes static properties: `COMMENT`, `MUTATOR`, and `WARNING`, representing different icon types. It also includes two methods: `equals(type)` for comparison and `toString()` for string conversion of the icon type. The class is part of the `icons` namespace within the larger `blockly` module.\n"]]