api: add widget line height accessors

This commit is contained in:
Adam
2021-06-11 15:16:29 -04:00
parent d4078a9555
commit 53e257ce17
2 changed files with 15 additions and 0 deletions

View File

@@ -845,6 +845,20 @@ public interface Widget
*/
void setYPositionMode(int ypm);
/**
* Get the line height for this widget.
*
* @return
*/
int getLineHeight();
/**
* Set the line height for this widget. If set to 0, the line height is taken from the font instead.
*
* @param lineHeight
*/
void setLineHeight(int lineHeight);
/**
* Gets the X axis text position mode
*