LoginSignup
7
6

More than 5 years have passed since last update.

CreateJSでbitmapくりかえし

Last updated at Posted at 2014-05-14

var graphics = new createjs.Graphics();
graphics
.beginBitmapFill(bmd, "repeat")
.drawRect(0, 0, 640, 960);
var shape = new createjs.Shape(graphics);
stage.addChild(shape);

//JSのcreatePatternつかってるぽい
//http://www.w3schools.com/tags/canvas_createpattern.asp

7
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
6