Announcement

Collapse
No announcement yet.

Using flags in drawText

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using flags in drawText

    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:
    Code:
    Text.FRAME | Text.BOLD
    These are the flags:
    • 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.
    Matt Gundersen
Working...
X