Skip to content

Mojo graphics canvas drawtext

mojo:mojo.graphics.Canvas.DrawText

Method DrawText:Void( text:String,tx:Float,ty:Float,handleX:Float=0,handleY: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.