Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the number of physical device pixels in a row of the CanvasImageData object.
![]() ![]() |
Syntax
object.get_width(* number);
Property values
Type: unsigned long
The number of pixels in a row of the CanvasImageData object.
Standards information
- HTML Canvas 2D Context, Section 13
Remarks
For an example of using length, see Sampling image colors with Canvas.
.png)
.png)