blockly > blockRendering > ConstantProvider > getBlockStyle

blockRendering.ConstantProvider.getBlockStyle() yöntemi

Belirtilen blok stili adı için BlockStyle'ı alır.

İmza:

getBlockStyle(blockStyleName: string | null): BlockStyle;

Parametreler

Parametre Tür Açıklama
blockStyleName dize | null Blok stilinin adı.

İade et:

BlockStyle

Adlandırılmış blok stili veya belirtilen ada sahip bir stil bulunamadıysa varsayılan stil.