แบบสำรวจการวิจัย: บอกให้เราทราบเกี่ยวกับประสบการณ์การใช้งาน Blockly
เริ่มแบบสำรวจ
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
blockly > blockRendering > สามารถวัดได้ > (เครื่องมือสร้าง)
blockRendering.Measurable.(constructor)
สร้างอินสแตนซ์ใหม่ของคลาส Measurable
ลายเซ็น:
constructor(constants: ConstantProvider);
พารามิเตอร์
พารามิเตอร์ |
ประเภท |
คำอธิบาย |
ค่าคงที่ |
ConstantProvider |
ผู้ให้บริการค่าคงที่ในการแสดงผล |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-09-09 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2024-09-09 UTC"],[[["The `blockRendering.Measurable` class is used for objects that have measurable dimensions within the Blockly rendering system."],["A new `Measurable` object is created using the constructor, which takes a `ConstantProvider` as its argument to access rendering constants."],["The `ConstantProvider` gives the `Measurable` object information about spacing, padding, and other visual properties needed for proper rendering within Blockly."]]],["The `Measurable` class constructor initializes a new instance. It requires a `ConstantProvider` object as a parameter. This `ConstantProvider` is used to supply the rendering constants needed by the `Measurable` instance. The constructor's purpose is to set up the necessary information for a rendering measurable object using values from the provided `ConstantProvider`.\n"]]