mojo.graphics.Canvas.DrawText - nitrologic/monkey2 GitHub Wiki

mojo::mojo.graphics.mojo.graphics.Canvas.DrawText

Method DrawText:Void( text:monkey:monkey.types.String,tx:monkey:monkey.types.Float,ty:monkey:monkey.types.Float,handleX:monkey:monkey.types.Float=0,handleY:monkey:monkey.types.Float=0 )

Draws text.

Draws text using the current Color, BlendMode and Matrix.

Parameters
text text The text to draw.
tx tx X coordinate to draw text at.
ty ty Y coordinate to draw text at.
handleX handleX X handle for drawing.
handleY handleY Y handle for drawing.