จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
blockly > ไอคอน > IconType
Icons.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"],null,[]]