با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
blockly > geras > RenderInfo > (سازنده)
geras.RenderInfo.(سازنده)
یک نمونه جدید از کلاس RenderInfo
می سازد
امضا:
constructor(renderer: Renderer, block: BlockSvg);
پارامترها
پارامتر | تایپ کنید | توضیحات |
---|
رندر کننده | رندر | رندر در حال استفاده |
مسدود کردن | BlockSvg | بلوک برای اندازه گیری |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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-24 بهوقت ساعت هماهنگ جهانی."],[],["The `RenderInfo` class constructor initializes a new instance. It requires two parameters: `renderer`, which is the current renderer being used, and `block`, which is the `BlockSvg` instance that needs to be measured. This class is part of the `geras` namespace within the `blockly` library. The constructor's purpose is to set up the necessary information for rendering a block.\n"]]