コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ブロックする >アイコン >IconType
icon.IconType クラス
アイコンのタイプを定義して、block.getIcon から取得できるようにします。
署名:
export declare class IconType<_T extends IIcon>
コンストラクタ
プロパティ
メソッド
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 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"]]