| Module: | libdom | Package: | org.milescript.canvas | Parent: | Object | Generated by MilescriptCompiler (Copyright 2008, Point5u LLC.) |
org.milescript.canvas.Context2D
Inheritance : Object
Constructors
| Signature |
| public Context2D() |
Methods
| Name | Signature |
| arc | void arc(float x, float y, float radius, float startAngle, float endAngle, boolean anticlockwise) |
| arcTo | void arcTo(float x1, float y1, float x2, float y2, float radius) |
| beginPath | void beginPath() |
| bezierCurveTo | void bezierCurveTo(float cp1x, float cp1y, float cp2x, float cp2y, float x, float y) |
| clearRect | void clearRect(float x, float y, float w, float h) |
| clip | void clip() |
| closePath | void closePath() |
| createImageData | ImageData createImageData(float sw, float sh) |
| createLinearGradient | CanvasGradient createLinearGradient(float x0, float y0, float x1, float y1) |
| createPattern | CanvasPattern createPattern(HTMLImage image, String repetition) |
| createPattern | CanvasPattern createPattern(HTMLCanvas image, String repetition) |
| createRadialGradient | CanvasGradient createRadialGradient(float x0, float y0, float r0, float x1, float y1, float r1) |
| drawImage | void drawImage(HTMLImage image, float dx, float dy) |
| drawImage | void drawImage(HTMLCanvas image, float dx, float dy) |
| drawImage | void drawImage(HTMLCanvas image, float dx, float dy, float dw, float dh) |
| drawImage | void drawImage(HTMLImage image, float dx, float dy, float dw, float dh) |
| drawImage | void drawImage(HTMLCanvas image, float sx, float sy, float sw, float sh, float dx, float dy, float dw, float dh) |
| drawImage | void drawImage(HTMLImage image, float sx, float sy, float sw, float sh, float dx, float dy, float dw, float dh) |
| fill | void fill() |
| fillRect | void fillRect(float x, float y, float w, float h) |
| getImageData | ImageData getImageData(float sx, float sy, float sw, float sh) |
| isPointInPath | boolean isPointInPath(float x, float y) |
| lineTo | void lineTo(float x, float y) |
| moveTo | void moveTo(float x, float y) |
| putImageData | void putImageData(ImageData imagedata, float dx, float dy) |
| putImageData | void putImageData(ImageData imagedata, float dx, float dy, float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight) |
| quadraticCurveTo | void quadraticCurveTo(float cpx, float cpy, float x, float y) |
| rect | void rect(float x, float y, float w, float h) |
| restore | void restore() |
| rotate | void rotate(float angle) |
| save | void save() |
| scale | void scale(float x, float y) |
| setTransform | void setTransform(float m11, float m12, float m21, float m22, float dx, float dy) |
| stroke | void stroke() |
| strokeRect | void strokeRect(float x, float y, float w, float h) |
| transform | void transform(float m11, float m12, float m21, float m22, float dx, float dy) |
| translate | void translate(float x, float y) |
Properties
| Name | Type | Comment | |
| fillStyle |
| ||
| globalAlpha |
| ||
| globalCompositeOperation |
| ||
| lineCap |
| ||
| lineJoin |
| ||
| lineWidth |
| ||
| miterLimit |
| ||
| shadowBlur |
| ||
| shadowColor |
| ||
| shadowOffsetX |
| ||
| shadowOffsetY |
| ||
| strokeStyle |
|
Constructors
|
public Context2D() |
Methods
|
arc void arc(float x, float y, float radius, float startAngle, float endAngle, boolean anticlockwise) Parameters
|
|
arcTo void arcTo(float x1, float y1, float x2, float y2, float radius) Parameters
|
|
beginPath void beginPath() |
|
bezierCurveTo void bezierCurveTo(float cp1x, float cp1y, float cp2x, float cp2y, float x, float y) Parameters
|
|
clearRect void clearRect(float x, float y, float w, float h) Parameters
|
|
clip void clip() |
|
closePath void closePath() |
|
createImageData ImageData createImageData(float sw, float sh)
Parameters
|
|||||||||||||
|
createLinearGradient CanvasGradient createLinearGradient(float x0, float y0, float x1, float y1)
Parameters
|
|||||||||||||||||||
|
createPattern CanvasPattern createPattern(HTMLImage image, String repetition)
Parameters
|
|||||||||||||
|
createPattern CanvasPattern createPattern(HTMLCanvas image, String repetition)
Parameters
|
|||||||||||||
|
createRadialGradient CanvasGradient createRadialGradient(float x0, float y0, float r0, float x1, float y1, float r1)
Parameters
|
|||||||||||||||||||||||||
|
drawImage void drawImage(HTMLImage image, float dx, float dy) Parameters
|
|
drawImage void drawImage(HTMLCanvas image, float dx, float dy) Parameters
|
|
drawImage void drawImage(HTMLCanvas image, float dx, float dy, float dw, float dh) Parameters
|
|
drawImage void drawImage(HTMLImage image, float dx, float dy, float dw, float dh) Parameters
|
|
drawImage void drawImage(HTMLCanvas image, float sx, float sy, float sw, float sh, float dx, float dy, float dw, float dh) Parameters
|
|
drawImage void drawImage(HTMLImage image, float sx, float sy, float sw, float sh, float dx, float dy, float dw, float dh) Parameters
|
|
fill void fill() |
|
fillRect void fillRect(float x, float y, float w, float h) Parameters
|
|
getImageData ImageData getImageData(float sx, float sy, float sw, float sh)
Parameters
|
|||||||||||||||||||
|
isPointInPath boolean isPointInPath(float x, float y)
Parameters
|
|||||||||||||
|
lineTo void lineTo(float x, float y) Parameters
|
|
moveTo void moveTo(float x, float y) Parameters
|
|
putImageData void putImageData(ImageData imagedata, float dx, float dy) Parameters
|
|
putImageData void putImageData(ImageData imagedata, float dx, float dy, float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight) Parameters
|
|
quadraticCurveTo void quadraticCurveTo(float cpx, float cpy, float x, float y) Parameters
|
|
rect void rect(float x, float y, float w, float h) Parameters
|
|
restore void restore() |
|
rotate void rotate(float angle) Parameters
|
|
save void save() |
|
scale void scale(float x, float y) Parameters
|
|
setTransform void setTransform(float m11, float m12, float m21, float m22, float dx, float dy) Parameters
|
|
stroke void stroke() |
|
strokeRect void strokeRect(float x, float y, float w, float h) Parameters
|
|
transform void transform(float m11, float m12, float m21, float m22, float dx, float dy) Parameters
|
|
translate void translate(float x, float y) Parameters
|
| Module: | libdom | Package: | org.milescript.canvas | Parent: | Object | Generated by MilescriptCompiler (Copyright 2008, Point5u LLC.) |