रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ब्लॉकली > ग्रिड > (कंस्ट्रक्टर)
Grid.(constructor)
Grid
क्लास का एक नया इंस्टेंस बनाता है
हस्ताक्षर:
constructor(pattern: SVGElement, options: GridOptions);
पैरामीटर
पैरामीटर |
टाइप |
ब्यौरा |
पैटर्न |
SVGElement |
ग्रिड का SVG पैटर्न, जिसे इंजेक्शन के दौरान बनाया जाता है. |
विकल्प |
GridOptions |
ग्रिड के लिए सामान्य विकल्पों का डिक्शनरी. ग्रिड से जुड़े दस्तावेज़ देखें: https://developers.google.com/blockly/guides/configure/web/grid |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-10-15 (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-15 (UTC) को अपडेट किया गया."],[[["The `Grid` class constructor initializes a new grid instance for the Blockly workspace."],["It requires an SVG element for the grid pattern and a GridOptions object to configure grid properties like spacing, color, and length."],["Developers can refer to the provided link for detailed information about grid configuration options."]]],["The `Grid` class constructor creates a new grid instance. It requires two parameters: `pattern`, an SVGElement representing the grid's SVG pattern, and `options`, a `GridOptions` dictionary containing normalized grid settings. The pattern is created during the injection process. Further details about grid configuration can be found in the grid documentation.\n"]]