blockly > blockRendering > ConstantProvider > FIELD_TEXT_BASELINE_CENTER
Propriété blockRendering.ConstantProvider.FIELD_TEXT_BASELINE_CENTER
Signature :
FIELD_TEXT_BASELINE_CENTER: boolean;
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/11/30 (UTC).
[null,null,["Dernière mise à jour le 2024/11/30 (UTC)."],[[["`FIELD_TEXT_BASELINE_CENTER` is a property within Blockly's block rendering engine that determines the vertical alignment of text within input fields."],["It is a boolean value, indicating whether the text baseline should be centered vertically within the field."],["This property is part of the `ConstantProvider` class, which manages various rendering constants used for consistent block visuals."],["By influencing text positioning within fields, `FIELD_TEXT_BASELINE_CENTER` contributes to the overall layout and appearance of Blockly blocks."]]],["The `FIELD_TEXT_BASELINE_CENTER` property, found within the `blockRendering.ConstantProvider` class, is a boolean value. It's a component of the Blockly block rendering system. This property indicates whether text fields are centered on their baseline. Its core function is to define the vertical alignment behavior of text within fields during block rendering.\n"]]