แบบสำรวจการวิจัย: บอกให้เราทราบเกี่ยวกับประสบการณ์การใช้งาน Blockly
เริ่มแบบสำรวจ
blockly > blockRendering > MarkerSvg > showWithField_
เมธอด blockRendering.MarkerSvg.showWithField_()
จัดตำแหน่งและแสดงเครื่องหมายสำหรับช่อง นี่คือกล่องที่อยู่รอบสนาม
ลายเซ็น:
protected showWithField_(curNode: ASTNode): void;
พารามิเตอร์
พารามิเตอร์ |
ประเภท |
คำอธิบาย |
curNode |
ASTNode |
โหนดที่จะวาดเครื่องหมาย |
การคืนสินค้า:
เป็นโมฆะ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-22 UTC
[null,null,["อัปเดตล่าสุด 2024-08-22 UTC"],[[["The `blockRendering.MarkerSvg.showWithField_()` method positions and displays a marker (a box) around a specific field within a Blockly block."],["This method is used internally by Blockly's rendering system and takes an ASTNode representing the target field as its input."],["The marker provides a visual cue to the user, highlighting the selected or active field within the block."]]],["The `showWithField_()` method within the `MarkerSvg` class positions and displays a marker around a specified field. It accepts an `ASTNode` as a parameter, designated as `curNode`, which represents the target field node. The method then draws a box around this node to visually indicate it. The method does not return any specific value.\n"]]