Bản khảo sát nghiên cứu: Cho chúng tôi biết trải nghiệm của bạn khi sử dụng Blockly
Bắt đầu khảo sát
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
chặn > blockRendering > Kết nối
Lớp blockRendering.Connection
Lớp cơ sở biểu thị một kết nối và không gian mà nó chiếm trong khối.
Chữ ký:
export declare class Connection extends Measurable
Mở rộng: Có thể đo lường
Hàm khởi tạo
Thuộc tính
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-09-12 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2024-09-12 UTC."],[[["The `blockRendering.Connection` class represents a connection point on a block and the space it occupies, extending the `Measurable` class."],["It is constructed using connection constants and a connection model, managing properties like shape, highlighting, and dynamic sizing."],["Key properties include `connectionModel`, `highlighted`, `isDynamicShape`, and `shape`, offering control over connection appearance and behavior."]]],["The `Connection` class, extending `Measurable`, represents a connection on a block and its space. It's constructed with constants and a `connectionModel`. Key properties include `connectionModel` (of type `RenderedConnection`), `highlighted` (a boolean), `isDynamicShape` (a boolean), and `shape` (of type `Shape`). This class defines the connection's characteristics and its relationship to the block's rendered layout.\n"]]