touchgfx::TextArea::setXBaselineY() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXtouchgfx::TextArea::setXBaselineY()

touchgfx::TextArea::setXBaselineY() method

@fn virtual void TextArea::setXBaselineY(int16_t x, int16_t baselineY) Adjusts the TextArea y coordinate to place the text at the specified baseline. Adjusts the text areas y coordinate so the text will have its baseline at the specified value. The placements is relative to the specified TypedText so if this changes you have to set the baseline again. Note that setTypedText must be called prior to setting the baseline. The specified x coordinate will be used as the x coordinate of the TextArea.

Syntax

virtual void setXBaselineY(int16_t x,     int16_t baselineY);

Arguments

x

The x coordinate of the TextArea.

baselineY

The y coordinate of the baseline.

References

LocationText
TextArea.hpp:161
virtual void setXBaselineY(int16_t x, int16_t baselineY)

Call Tree

Functions called by touchgfx::TextArea::setXBaselineY()
touchgfx::TextArea::setXBaselineY()
Data read by touchgfx::TextArea::setXBaselineY()
touchgfx::TextArea::setXBaselineY()