Lines Matching full:offsetx
221 var offsetX = Math.floor(x % tilesPerRow) * tileSizeX;
227 lineArray[y] = Array(offsetX + edge.startX, offsetY + edge.startY);
245 tileCenterArray[0] = new Array(offsetX + tile.centerX - 1,
247 tileCenterArray[1] = new Array(offsetX + tile.centerX - 1,
249 tileCenterArray[2] = new Array(offsetX + tile.centerX + 1,
251 tileCenterArray[3] = new Array(offsetX + tile.centerX + 1,
253 tileCenterArray[4] = new Array(offsetX + normalX - 1,
255 tileCenterArray[5] = new Array(offsetX + normalX + 1,
257 tileCenterArray[6] = new Array(offsetX + tile.centerX,
264 centerArray[0] = new Array(offsetX + edge.centerX - 1,
266 centerArray[1] = new Array(offsetX + edge.centerX - 1,
268 centerArray[2] = new Array(offsetX + edge.centerX + 1,
270 centerArray[3] = new Array(offsetX + edge.centerX + 1,