blockly > blockRendering > ConstantProvider > FIELD_TEXT_HEIGHT
Właściwość blockRendering.ConstantProvider.FIELD_TEXT_HEIGHT
Wysokość tekstu. Ta stała jest dynamicznie ustawiana w elemencie setFontConstants_
jako wysokość tekstu na podstawie użytej czcionki.
Podpis:
FIELD_TEXT_HEIGHT: number;
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-11-09 UTC.
[null,null,["Ostatnia aktualizacja: 2024-11-09 UTC."],[[["`FIELD_TEXT_HEIGHT` is a property within Blockly's block rendering system that represents the height of text displayed in fields."],["This property's value is determined dynamically based on the font being used, ensuring accurate text representation within blocks."]]],["The `FIELD_TEXT_HEIGHT` property, found within `blockRendering.ConstantProvider`, represents the height of text. It's a numerical value that's dynamically adjusted by the `setFontConstants_` method to reflect the actual text height based on the currently used font. This property defines the vertical space occupied by text within a block's field.\n"]]