blockly > blockRendering > Oluşturucu > init
blockRendering.Renderer.init() yöntemi
Oluşturucuyu başlatın.
İmza:
init(theme: Theme, opt_rendererOverrides?: {
[rendererConstant: string]: any;
}): void;
Parametreler
Parametre |
Tür |
Açıklama |
tema |
Tema |
Çalışma alanı tema nesnesi. |
opt_rendererOverrides |
{ [rendererConstant: string]: any; } |
(İsteğe bağlı) Oluşturma sabiti geçersiz kılmaları. |
Şunu döndürür:
geçersiz
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-08-21 UTC.
[null,null,["Son güncelleme tarihi: 2024-08-21 UTC."],[[["The `blockRendering.Renderer.init()` method initializes the renderer with a specified theme and optional rendering constant overrides."],["It accepts a `Theme` object to style the workspace and an optional object to override default rendering constants."],["Calling this method prepares the renderer for generating and displaying blocks within the Blockly workspace."]]],[]]