แบบสำรวจการวิจัย: บอกให้เราทราบเกี่ยวกับประสบการณ์การใช้งาน Blockly
เริ่มแบบสำรวจ
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
blockly > RenderedConnection > moveBy
เมธอด RenderedConnection.moveBy()
เปลี่ยนพิกัดของการเชื่อมต่อ
ลายเซ็น:
moveBy(dx: number, dy: number): boolean;
พารามิเตอร์
พารามิเตอร์ |
ประเภท |
คำอธิบาย |
dx |
ตัวเลข |
เปลี่ยนเป็นพิกัด x ในหน่วยพื้นที่ทํางาน |
Dy |
ตัวเลข |
เปลี่ยนเป็นพิกัด y ในหน่วยพื้นที่ทำงาน |
การคืนสินค้า:
boolean
เป็นจริงหากตำแหน่งการเชื่อมต่อในฐานข้อมูลการเชื่อมต่อมีการอัปเดต
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-09-12 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-12 UTC"],[[["This page provides access to documentation for the `Reference` class within the `google.cloud.osconfig_v1alpha.types` module."],["The `Reference` class is used to represent a reference for a vulnerability, including a URL pointing to more information."],["Documentation is available for various versions of the OS Config library, ranging from 0.1.2 to the latest 1.17.5."],["Users can select their desired version to access the corresponding documentation."]]],["The `moveBy` method of the `RenderedConnection` class alters a connection's coordinates. It accepts two numerical parameters, `dx` and `dy`, representing the change in the x and y coordinates, respectively, in workspace units. This method then updates the connection's position accordingly. The method returns a boolean value, which indicates if the connection's position was updated.\n"]]