createImageData method
[This documentation is preliminary and is subject to change.]
Returns a CanvasImageData object that has dimensions in CSS pixels.
![]() ![]() |
Syntax
ICanvasImageData retVal = object.createImageData(a1, a2);
Standards information
- The canvas element, Section 13
Parameters
a1 [in]
Type: VARIANTThe width of the new object, in CSS pixels.
a2 [in]
Type: VARIANTThe height of the new object, in CSS pixels.
Remarks
When the CanvasImageData object is first created, it contains only pixels that are set to transparent black.
Build date: 1/23/2012
.png)
.png)