Encuesta de investigación: Cuéntanos sobre tu experiencia con Blockly
Comenzar encuesta
blockly > blockRendering > ConstantProvider > FIELD_TEXT_HEIGHT
Propiedad blockRendering.ConstantProvider.FIELD_TEXT_HEIGHT
Es la altura del texto. Esta constante se establece de forma dinámica en setFontConstants_
como la altura del texto según la fuente que se usa.
Signature:
FIELD_TEXT_HEIGHT: number;
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2024-11-09 (UTC)
[null,null,["Última actualización: 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"]]