با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
blockly > blockRendering > OutputConnection > (سازنده)
blockRendering.OutputConnection.(سازنده)
یک نمونه جدید از کلاس OutputConnection
می سازد
امضا:
constructor(constants: ConstantProvider, connectionModel: RenderedConnection);
پارامترها
پارامتر | تایپ کنید | توضیحات |
---|
ثابت ها | ConstantProvider | ارائه دهنده ثابت های رندر. |
مدل اتصال | RenderedConnection | شیء اتصال در بلوکی که این نشان دهنده آن است. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-11-12 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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-11-12 بهوقت ساعت هماهنگ جهانی."],[[["The `OutputConnection` class in Blockly's block rendering system is used to visually represent and manage the output connections of blocks."],["It is initialized with a `ConstantProvider` for rendering settings and a `RenderedConnection` representing the actual block connection."],["The constructor sets up a new `OutputConnection` instance for a block, preparing it for visual rendering and interaction within the Blockly workspace."]]],["The `OutputConnection` class constructor creates a new instance, taking two parameters: `constants` and `connectionModel`. `constants` is a `ConstantProvider` object, which supplies rendering constants. `connectionModel` is a `RenderedConnection` object, representing the block's connection. This constructor essentially sets up an `OutputConnection` instance with the necessary rendering and connection data for a specific block output.\n"]]