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
- createLinearGradient
- createPattern
- createRadialGradient
- drawImage
- drawImageFromRect
- fill
- fillRect
- fillText
- getImageData
- isPointInPath
- lineTo
- measureText
- moveTo
- putImageData
- quadraticCurveTo
- rect
- restore
- rotate
- save
- scale
- setAlpha
- setCompositeOperation
- setFillColor
- setLineCap
- setLineJoin
- setLineWidth
- setMiterLimit
- setShadow
- setStrokeColor
- setTransform
- stroke
- strokeRect
- strokeText
- 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);
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 drawImageFromRect();
void fillRect(
in float x,
in float y,
in float width,
in float height);
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 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 setLineCap(
in DOMString cap);
void setLineJoin(
in DOMString join);
void setLineWidth(
in float width);
void setMiterLimit(
in float limit);
void setTransform(
in float m11,
in float m12,
in float m21,
in float m22,
in float dx,
in float dy);
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
- canvas
- 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: 2009-05-29