Documentation

Draw Text Ex - Open Dev Kit Documentation

Open Dev Kit Documentation :: OpenGL :: Render Context :: Draw Text Ex

OpenGL.RenderContext.DrawTextEx(
  Text String,
  Area Rectangle,
  Color 1 Color HDR,
  Color 2 Color HDR,
  Font Font*,
  Line Spacing Float,
  Character Spacing Float,
  Shader Shader*
) 

Parameters

Color 1 Color HDR
The primary color of the text to be drawn
Color 2 Color HDR
An optional second color to fade to, if the render context supports it easily
Font Font*
An optional override font to use.
Line Spacing Float
The spacing factor between individual lines
Character Spacing Float
The spacing factor between individual characters; also known as kerning

Return Value

Nothing

If you think anything is missing, please feel free to: submit documentation feedback on this page