با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
blockly > blockRendering > InputConnection
کلاس پایه برای نشان دادن ورودی که در حین رندر کردن فضای یک بلوک را اشغال می کند.
امضا:
export declare class InputConnection extends Connection
گسترش می دهد: اتصال
سازندگان
خواص
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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"]],["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[[["`InputConnection` is the base class for rendering inputs on Blockly blocks, extending the `Connection` class."],["It manages the visual representation and connection logic of block inputs."],["Includes properties for alignment, connected blocks, and connection offsets."],["Constructed with connection constants and an `Input` object."]]],["The `InputConnection` class, extending `Connection`, represents an input on a block during rendering. It's instantiated with a constructor that takes `constants` and `input`. Key properties include: `align` (a number), `connectedBlock` (a `BlockSvg` or null), `connectedBlockHeight` and `connectedBlockWidth` (numbers), `connectionOffsetX` and `connectionOffsetY` (numbers), and `input` (an `Input`). These properties define how the input connects to other blocks and its dimensions during the rendering process.\n"]]