blockly > BlockSvg > initSvg
متد BlockSvg.initSvg().
نمایش SVG بلوک را ایجاد و مقداردهی اولیه کنید. ممکن است بیش از یک بار تماس گرفته شود.
امضا:
initSvg(): void;
برمیگرداند:
باطل
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-10 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-10 بهوقت ساعت هماهنگ جهانی."],[[["This method, `initSvg()`, is responsible for creating and initializing the SVG (Scalable Vector Graphics) elements that visually represent a block within a Blockly workspace."],["It's designed to be called multiple times without causing issues, ensuring the visual representation of the block remains updated."],["Calling `initSvg()` has no return value, meaning it performs its actions directly without providing any specific output to the calling code."]]],[]]