Shapeのサイズを指定
shapeの幅と高さを指定する
shape.width = 128;
shape.height = 256;

コンストラクタ内で指定も可能
var shape = Shape({
x: 320,
y: 480,
width: 128,
height: 256,
}).addChildTo(this);
Shapeのサイズを指定
shapeの幅と高さを指定する
shape.width = 128;
shape.height = 256;

コンストラクタ内で指定も可能
var shape = Shape({
x: 320,
y: 480,
width: 128,
height: 256,
}).addChildTo(this);