Open Dev Kit Documentation :: GUI :: Render Context :: Draw Text
GUI.RenderContext.DrawText( Text String, Area Rectangle, Color 1 Color, Color 2 Color, Font Font* )Draws text within a specified rectangular area, using 1-2 colors, and allowing for a custom overriding font
Parameters
- Text String
- Text string to be drawn
- Area Rectangle
- Bounding rectangle within which the text is to be drawn
- Color 1 Color
- Primary color of the text to be drawn
- Color 2 Color
- Optional second color to fade to, if the render context supports it easily
- Font Font*
- Optional override font to use
Return Value
- Nothing
If you think anything is missing, please feel free to: submit documentation feedback on this page
