Name
bufferDepth — NN n/a IE 4 DOM n/a
Synopsis
Read/Write
Setting of the offscreen bitmap buffer. Path animation smoothness may
improve on some clients if you match the
bufferDepth to the colorDepth
values. Setting the bufferDepth to -1 forces IE to
buffer at the screen’s pixel depth (as set in the control
panel), and colorDepth is automatically set to
that value, as well (plus if a user changes the bits per pixel, the
buffer is adjusted accordingly). A setting to any of the other
permitted values (1, 4, 8, 15, 16, 24, or 32) buffers at that pixel
depth and sets the colorDepth to that value. The
client’s display must be set to the higher bits-per-pixel
values to take advantage of the higher settings in scripts.
Example
screen.bufferDepth = 4
Value
Any of the following allowed integers: -1 |
0 | 4 | 8 |
15 | 16 | 24
| 32.
Default
0
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access