There are a few flags you can add to the drawText command (or them in)
drawText(x, y, "text", FG, BG, FLAGS, ...);
The flags can be a bunch of things Or'd together eg:
These are the flags:
The Text.RELATIVETOTOP and Text.RELATIVETOBOTTOM cause the y parameter to be treated in pixels
The Text.RELATIVETOLEFT flags makes the x parameter relative to the left most visible bar.
drawText(x, y, "text", FG, BG, FLAGS, ...);
The flags can be a bunch of things Or'd together eg:
Code:
Text.FRAME | Text.BOLD
- Text.RELATIVETOTOP
Text.RELATIVETOBOTTOM
Text.RELATIVETOLEFT
The Text.RELATIVETOTOP and Text.RELATIVETOBOTTOM cause the y parameter to be treated in pixels
The Text.RELATIVETOLEFT flags makes the x parameter relative to the left most visible bar.