Class: TextRenderer

TextRenderer

draw a text
checkout Renderer for standard parameters

new TextRenderer()

Source:
Example
 var hello = new DE.GameObject( {
  x: 500, y: 500,
  renderer: new DE.TextRenderer( {
    "fillColor": "white", "fontSize": "25",
    "textAlign": "left", "font": "Calibri", // lol
    "paddingX": 5, "backgroundColor": "blue",
    "borderSize": 2, "borderColor": "white"
  }, 800, 100, "hello" )
} );

Extends

Dreamirl Copyright © 2014 And the contributors
Documentation generated by JSDoc 3.2.2 on Thu Apr 24 2014 11:56:41 GMT+0200 (CEST) using the DocStrap template.