จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
blockly > blockRendering > OutputConnection > (เครื่องมือสร้าง)
blockRendering.OutputConnection.(constructor)
สร้างอินสแตนซ์ใหม่ของคลาส OutputConnection
ลายเซ็น:
constructor(constants: ConstantProvider, connectionModel: RenderedConnection);
พารามิเตอร์
| พารามิเตอร์ |
ประเภท |
คำอธิบาย |
| ค่าคงที่ |
ConstantProvider |
ผู้ให้บริการค่าคงที่ในการแสดงผล |
| connectionModel |
RenderedConnection |
ออบเจ็กต์การเชื่อมต่อบนบล็อกที่แสดง |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],["The `OutputConnection` class constructor creates a new instance, taking two parameters: `constants` and `connectionModel`. `constants` is a `ConstantProvider` object, which supplies rendering constants. `connectionModel` is a `RenderedConnection` object, representing the block's connection. This constructor essentially sets up an `OutputConnection` instance with the necessary rendering and connection data for a specific block output.\n"]]