Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
blockly > blockRendering > Çekmece > (kurucu)
blockRendering.Drawer.(constructor)
Drawer sınıfının yeni bir örneğini oluşturur
İmza:
constructor(block: BlockSvg, info: RenderInfo);
Parametreler
| Parametre |
Tür |
Açıklama |
| engelle |
BlockSvg |
Oluşturulacak blok. |
| bilgi |
RenderInfo |
Bu bloğu oluşturmak için gereken tüm bilgileri içeren bir nesne. |
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: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[],["The `Drawer` class constructor takes two parameters: `block` and `info`. The `block` parameter, of type `BlockSvg`, represents the block that needs to be rendered. The `info` parameter, of type `RenderInfo`, provides all the necessary information for rendering the specified block. This constructor creates a new instance of the `Drawer` class to manage the rendering process using the block and rendering information.\n"]]