Package pyjamas :: Package Canvas :: Module GWTCanvasImplDefault :: Class GWTCanvasImplDefault
[hide private]
[frames] | no frames]

Class GWTCanvasImplDefault

source code

Instance Methods [hide private]
 
__init__(self) source code
 
arc(self, x, y, radius, startAngle, endAngle, antiClockwise) source code
 
beginPath(self) source code
 
clear(self, width, height) source code
 
closePath(self) source code
 
createElement(self) source code
 
cubicCurveTo(self, cp1x, cp1y, cp2x, cp2y, x, y) source code
 
fillText(self, text, sourceX, sourceY, maxWidth=None) source code
 
drawImage(self, img, sourceX, sourceY, sourceWidth=None, sourceHeight=None, destX=None, destY=None, destWidth=None, destHeight=None) source code
 
fill(self) source code
 
fillRect(self, startX, startY, width, height) source code
 
getGlobalAlpha(self) source code
 
getGlobalCompositeOperation(self) source code
 
getHeight(self, elem) source code
 
getLineCap(self) source code
 
getLineJoin(self) source code
 
getLineWidth(self) source code
 
getMiterLimit(self) source code
 
getWidth(self, elem) source code
 
lineTo(self, x, y) source code
 
moveTo(self, x, y) source code
 
quadraticCurveTo(self, cpx, cpy, x, y) source code
 
rect(self, x, y, width, height) source code
 
restoreContext(self) source code
 
rotate(self, angle) source code
 
saveContext(self) source code
 
scale(self, x, y) source code
 
setBackgroundColor(self, element, color) source code
 
setCoordHeight(self, elem, height) source code
 
setCoordWidth(self, elem, width) source code
 
setStrokeStyle(self, gradient) source code
 
setFillStyle(self, gradient) source code
 
setGlobalAlpha(self, alpha) source code
 
setGlobalCompositeOperation(self, globalCompositeOperation) source code
 
setLineCap(self, lineCap) source code
 
setLineJoin(self, lineJoin) source code
 
setLineWidth(self, width) source code
 
setMiterLimit(self, miterLimit) source code
 
setPixelHeight(self, elem, height) source code
 
setPixelWidth(self, elem, width) source code
 
stroke(self) source code
 
strokeRect(self, startX, startY, width, height) source code
 
transform(self, m11, m12, m21, m22, dx, dy) source code
 
translate(self, x, y) source code
 
clearRect(self, startX, startY, width, height) source code
 
setCanvasContext(self, ctx) source code