Package | Description |
---|---|
org.htmlunit.javascript.host.canvas |
Implementations of the Canvas JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
|
Modifier and Type | Method and Description |
---|---|
static ImageData |
CanvasRenderingContext2D.createImageData(org.htmlunit.corejs.javascript.Context context,
org.htmlunit.corejs.javascript.Scriptable scope,
org.htmlunit.corejs.javascript.Scriptable thisObj,
Object[] args,
org.htmlunit.corejs.javascript.Function function)
Returns the
ImageData object. |
ImageData |
CanvasRenderingContext2D.getImageData(int sx,
int sy,
int sw,
int sh)
Returns the
ImageData object. |
static ImageData |
ImageData.jsConstructor(org.htmlunit.corejs.javascript.Context cx,
org.htmlunit.corejs.javascript.Scriptable scope,
Object[] args,
org.htmlunit.corejs.javascript.Function ctorObj,
boolean inNewExpr)
JavaScript constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
CanvasRenderingContext2D.putImageData(ImageData imageData,
int dx,
int dy,
Object dirtyX,
Object dirtyY,
Object dirtyWidth,
Object dirtyHeight)
Paints data from the given ImageData object onto the canvas.
|
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.