Lines Matching refs:RemotePattern
778 function RemotePattern(remoteMessage) class
789 RemotePattern.staticCanvas = document.createElement('canvas');
790 RemotePattern.staticCanvas.width = RemotePattern.staticCanvas.height = 8;
791 RemotePattern.staticContext = RemotePattern.staticCanvas.getContext('2d');
792 RemotePattern.staticImageData
793 = RemotePattern.staticContext.createImageData(8, 8);
794 RemotePattern.staticPixels
795 = new Uint32Array(RemotePattern.staticImageData.data.buffer);
798 RemotePattern.prototype.readFrom = function(remoteMessage)
805 RemotePattern.prototype.isSolid = function()
812 RemotePattern.prototype.toPattern = function(context, lowColor, highColor)
815 RemotePattern.staticPixels[i]
821 RemotePattern.staticContext.putImageData(RemotePattern.staticImageData, 0,
823 return context.createPattern(RemotePattern.staticCanvas, 'repeat');
1038 this.pattern = new RemotePattern();
1142 this.pattern = new RemotePattern(remoteMessage);