Module: |
|
Inherits from: |
|
Declared In: |
|
Overview
Use the links in the table of contents to the left to access the documentation.
Functions
- arc
- arcTo
- beginPath
- bezierCurveTo
- clearRect
- clearShadow
- clip
- closePath
- createImageData
- createImageData(in float, in float)
- createImageData(in ImageData)
- createLinearGradient
- createPattern
- createPattern(in HTMLCanvasElement, in DOMString)
- createPattern(in HTMLImageElement, in DOMString)
- createRadialGradient
- drawImage()
- drawImage(in HTMLCanvasElement, in float, in float)
- drawImage(in HTMLCanvasElement, in float, in float, in float, in float)
- drawImage(in HTMLCanvasElement, in float, in float, in float, in float, in float, in float, in float, in float)
- drawImage(in HTMLImageElement, in float, in float)
- drawImage(in HTMLImageElement, in float, in float, in float, in float)
- drawImage(in HTMLImageElement, in float, in float, in float, in float, in float, in float, in float, in float)
- drawImage(in HTMLVideoElement, in float, in float)
- drawImage(in HTMLVideoElement, in float, in float, in float, in float)
- drawImage(in HTMLVideoElement, in float, in float, in float, in float, in float, in float, in float, in float)
- drawImageFromRect()
- drawImageFromRect(in HTMLImageElement, in float, in float, in float, in float, in float, in float, in float, in float, in DOMString)
- fill
- fillRect
- fillText()
- fillText(in DOMString, in float, in float, in float)
- getImageData
- isPointInPath
- lineTo
- measureText
- moveTo
- putImageData()
- putImageData(in ImageData, in float, in float, in float, in float, in float, in float)
- quadraticCurveTo
- rect
- restore
- rotate
- save
- scale
- setAlpha
- setCompositeOperation
- setFillColor
- setFillColor(in DOMString, in float)
- setFillColor(in float, in float)
- setFillColor(in float, in float, in float, in float)
- setFillColor(in float, in float, in float, in float, in float)
- setLineCap
- setLineJoin
- setLineWidth
- setMiterLimit
- setShadow
- setShadow(in float, in float, in float, in DOMString, in float)
- setShadow(in float, in float, in float, in float, in float)
- setShadow(in float, in float, in float, in float, in float, in float, in float)
- setShadow(in float, in float, in float, in float, in float, in float, in float, in float)
- setStrokeColor
- setStrokeColor(in DOMString, in float)
- setStrokeColor(in float, in float)
- setStrokeColor(in float, in float, in float, in float)
- setStrokeColor(in float, in float, in float, in float, in float)
- setTransform
- stroke
- strokeRect()
- strokeRect(in float, in float, in float, in float, in float)
- strokeText()
- strokeText(in DOMString, in float, in float, in float)
- transform
- translate
void arc(
in float x,
in float y,
in float radius,
in float startAngle,
in float endAngle,
in boolean anticlockwise) raises (DOMException);
void arcTo(
in float x1,
in float y1,
in float x2,
in float y2,
in float radius) raises (DOMException);
void bezierCurveTo(
in float cp1x,
in float cp1y,
in float cp2x,
in float cp2y,
in float x,
in float y);
void clearRect(
in float x,
in float y,
in float width,
in float height);
ImageData createImageData(
in float sw,
in float sh) raises (DOMException);
CanvasGradient createLinearGradient(
in float x0,
in float y0,
in float x1,
in float y1) raises (DOMException);
CanvasGradient createRadialGradient(
in float x0,
in float y0,
in float r0,
in float x1,
in float y1,
in float r1) raises (DOMException);
void drawImage(
in HTMLCanvasElement canvas,
in float x,
in float y) raises (DOMException);
void drawImage(
in HTMLCanvasElement canvas,
in float x,
in float y,
in float width,
in float height) raises (DOMException);
void drawImage(
in HTMLCanvasElement canvas,
in float sx,
in float sy,
in float sw,
in float sh,
in float dx,
in float dy,
in float dw,
in float dh) raises (DOMException);
void drawImage(
in HTMLImageElement image,
in float x,
in float y) raises (DOMException);
void drawImage(
in HTMLImageElement image,
in float x,
in float y,
in float width,
in float height) raises (DOMException);
void drawImage(
in HTMLImageElement image,
in float sx,
in float sy,
in float sw,
in float sh,
in float dx,
in float dy,
in float dw,
in float dh) raises (DOMException);
void drawImage(
in HTMLVideoElement video,
in float x,
in float y) raises (DOMException);
void drawImage(
in HTMLVideoElement video,
in float x,
in float y,
in float width,
in float height) raises (DOMException);
void drawImage(
in HTMLVideoElement video,
in float sx,
in float sy,
in float sw,
in float sh,
in float dx,
in float dy,
in float dw,
in float dh) raises (DOMException);
void drawImageFromRect();
void drawImageFromRect(
in HTMLImageElement image,
in float sx,
in float sy,
in float sw,
in float sh,
in float dx,
in float dy,
in float dw,
in float dh,
in DOMString compositeOperation);
void fillRect(
in float x,
in float y,
in float width,
in float height);
void fillText(
in DOMString text,
in float x,
in float y,
in float maxWidth);
ImageData getImageData(
in float sx,
in float sy,
in float sw,
in float sh) raises(DOMException);
boolean isPointInPath(
in float x,
in float y);
void lineTo(
in float x,
in float y);
void moveTo(
in float x,
in float y);
void putImageData(
in ImageData imagedata,
in float dx,
in float dy,
in float dirtyX,
in float dirtyY,
in float dirtyWidth,
in float dirtyHeight) raises(DOMException);
void quadraticCurveTo(
in float cpx,
in float cpy,
in float x,
in float y);
void rect(
in float x,
in float y,
in float width,
in float height);
void rotate(
in float angle);
void scale(
in float sx,
in float sy);
void setAlpha(
in float alpha);
void setCompositeOperation(
in DOMString compositeOperation);
void setFillColor(
in DOMString color,
in float alpha);
void setFillColor(
in float grayLevel,
in float alpha);
void setFillColor(
in float r,
in float g,
in float b,
in float a);
void setFillColor(
in float c,
in float m,
in float y,
in float k,
in float a);
void setLineCap(
in DOMString cap);
void setLineJoin(
in DOMString join);
void setLineWidth(
in float width);
void setMiterLimit(
in float limit);
void setShadow(
in float width,
in float height,
in float blur,
in DOMString color,
in float alpha);
void setShadow(
in float width,
in float height,
in float blur,
in float grayLevel,
in float alpha);
void setShadow(
in float width,
in float height,
in float blur,
in float r,
in float g,
in float b,
in float a);
void setShadow(
in float width,
in float height,
in float blur,
in float c,
in float m,
in float y,
in float k,
in float a);
void setStrokeColor(
in DOMString color,
in float alpha);
void setStrokeColor(
in float grayLevel,
in float alpha);
void setStrokeColor(
in float r,
in float g,
in float b,
in float a);
void setStrokeColor(
in float c,
in float m,
in float y,
in float k,
in float a);
void setTransform(
in float m11,
in float m12,
in float m21,
in float m22,
in float dx,
in float dy);
void strokeRect(
in float x,
in float y,
in float width,
in float height,
in float lineWidth);
void strokeText(
in DOMString text,
in float x,
in float y,
in float maxWidth);
void transform(
in float m11,
in float m12,
in float m21,
in float m22,
in float dx,
in float dy);
void translate(
in float tx,
in float ty);
Member Data
- fillStyle
- font
- globalAlpha
- globalCompositeOperation
- lineCap
- lineJoin
- lineWidth
- miterLimit
- shadowBlur
- shadowColor
- shadowOffsetX
- shadowOffsetY
- strokeStyle
- textAlign
- textBaseline
attribute custom fillStyle;
attribute DOMString font;
attribute float globalAlpha;
attribute DOMString globalCompositeOperation;
attribute DOMString lineCap;
attribute DOMString lineJoin;
attribute float lineWidth;
attribute float miterLimit;
attribute float shadowBlur;
attribute DOMString shadowColor;
attribute float shadowOffsetX;
attribute float shadowOffsetY;
attribute custom strokeStyle;
attribute DOMString textAlign;
attribute DOMString textBaseline;
Last Updated: 2010-05-27