रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
ब्लॉकली > blockRendering > PathObject > (कंस्ट्रक्टर)
blockRendering.PathObject.(constructor)
PathObject
क्लास का एक नया इंस्टेंस बनाता है
हस्ताक्षर:
constructor(root: SVGElement, style: BlockStyle, constants: ConstantProvider);
पैरामीटर
पैरामीटर |
टाइप |
ब्यौरा |
रूट |
SVGElement |
रूट SVG एलिमेंट. |
शैली |
BlockStyle |
रंग भरने के लिए इस्तेमाल किया जाने वाला स्टाइल ऑब्जेक्ट. |
कॉन्सटेंट |
ConstantProvider |
रेंडरर के कॉन्सटेंट. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-21 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-08-21 (UTC) को अपडेट किया गया."],[[["`PathObject` is a class for rendering paths within Blockly blocks, initialized with an SVG element, block style, and rendering constants."],["The constructor takes `root` (SVGElement), `style` (BlockStyle), and `constants` (ConstantProvider) as parameters to set up the path object for rendering."]]],["The `PathObject` class constructor creates a new instance. It requires three parameters: `root`, an SVG element representing the root; `style`, a `BlockStyle` object for coloring; and `constants`, a `ConstantProvider` object containing rendering constants. These parameters are used to initialize a new path object.\n"]]