با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
blockly > blockRendering > Measurable > (constructor)
blockRendering.Measurable.(سازنده)
یک نمونه جدید از کلاس Measurable
می سازد
امضا:
constructor(constants: ConstantProvider);
پارامترها
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز 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 `blockRendering.Measurable` class is used for objects that have measurable dimensions within the Blockly rendering system."],["A new `Measurable` object is created using the constructor, which takes a `ConstantProvider` as its argument to access rendering constants."],["The `ConstantProvider` gives the `Measurable` object information about spacing, padding, and other visual properties needed for proper rendering within Blockly."]]],["The `Measurable` class constructor initializes a new instance. It requires a `ConstantProvider` object as a parameter. This `ConstantProvider` is used to supply the rendering constants needed by the `Measurable` instance. The constructor's purpose is to set up the necessary information for a rendering measurable object using values from the provided `ConstantProvider`.\n"]]