रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ब्लॉकली > blockRendering > IPathObject > setPath
ब्लॉक रेंडरिंग.IPathObject.setPath() मेथड
रेंडरर से जनरेट किया गया पाथ, उससे जुड़े SVG एलिमेंट पर सेट करें.
हस्ताक्षर:
setPath(pathString: string): void;
पैरामीटर
पैरामीटर |
टाइप |
ब्यौरा |
pathString |
स्ट्रिंग |
पाथ. |
लौटाए जाने वाले प्रॉडक्ट:
अमान्य
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-10-14 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","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-10-14 (UTC) को अपडेट किया गया."],[[["The `setPath` method applies a rendered path to an SVG element within a Blockly block."],["This method, part of the `blockRendering.IPathObject` interface, takes a single string argument representing the SVG path data."],["Calling `setPath` updates the visual representation of the block by setting the path of its corresponding SVG element, and it does not return any value."]]],["The `setPath` method, part of the `IPathObject` interface, updates the SVG element's path. It accepts a single string parameter, `pathString`, which defines the new path. This method essentially renders or re-renders the shape on the SVG element by setting its path attribute according to the provided string. The function returns void, indicating that it does not return any value.\n"]]