Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
blockly > Izgara > (kurucu)
Grid.(constructor)
Grid
sınıfının yeni bir örneğini oluşturur
İmza:
constructor(pattern: SVGElement, options: GridOptions);
Parametreler
Parametre |
Tür |
Açıklama |
desen |
SVGElement |
Izgaranın, yerleştirme sırasında oluşturulan SVG kalıbı. |
seçenekler |
GridOptions |
Izgara için normalleştirilmiş seçenekler sözlüğü. Izgara belgelerini inceleyin: https://developers.google.com/blockly/guides/configure/web/grid |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-10-15 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 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"]]