new BoxRenderer()
Example
var itsJustABox = new DE.GameObject( { x: 500, y: 500, renderer: new DE.BoxRenderer( { "fillColor": "red" }, 250, 100 ) } );
draw a a colored square
checkout Renderer for standard parameters
var itsJustABox = new DE.GameObject( { x: 500, y: 500, renderer: new DE.BoxRenderer( { "fillColor": "red" }, 250, 100 ) } );