pat Posted August 10, 2014 Share Posted August 10, 2014 Hello all, It is a stupid question (one more) but I am trying to draw in the bitmapDataFor example:bmd = game.add.bitmapData(800,600);var color = 'yellow'; bmd.ctx.beginPath();bmd.ctx.lineWidth = "6";bmd.ctx.strokeStyle = color;bmd.ctx.stroke();Where is the documentation of these commandsI can not find them in the documentationhttp://docs.phaser.io/Phaser.BitmapData.html? Where are they ?? Thanks a lot Patrick Link to comment Share on other sites More sharing options...
lewster32 Posted August 10, 2014 Share Posted August 10, 2014 BitmapData is essentially a canvas context, so these are canvas properties and methods: http://www.w3schools.com/html/html5_canvas.asp Link to comment Share on other sites More sharing options...
pat Posted August 10, 2014 Author Share Posted August 10, 2014 Thanks a lot, it was a stupid question :-p Link to comment Share on other sites More sharing options...
Recommended Posts