drawingBufferWidth property

Represents the actual width of the drawing buffer.

This property is read-only.

IE11

Syntax

JavaScript
width = object.drawingBufferWidth

Property values

Type: Number

Remarks

The value of drawingBufferWidth can differ from the width attribute of the associated WebGL canvas.

See also

WebGLRenderingContext
drawingBufferHeight

 

 

Show:
© 2014 Microsoft