TextHighlighter.Paint (gb.highlight)

Sub Paint ( Text As String, X As Float, Y As Float [ , Theme As TextHighlighterTheme, Pos As Integer ] )

Paint highlighted text on the current painter.

  • Text: The text to highlight.

  • X, Y: The coordinates of the drawing start point.

  • Theme: The theme to use. If not specified, a default theme is used.

  • Pos: The position of the first character to draw. By default all text is drawn.

See also