Pattern.js 298 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 12 13 var Pattern = (function () { function Pattern(image, repeat) { this.image = image; this.repeat = repeat; this.x = 0; this.y = 0; this.rotation = 0; this.scaleX = 1; this.scaleY = 1; } return Pattern; }()); export default Pattern;