display
new display([options])Options
| Name | Type | Default | Description |
|---|---|---|---|
| buffername | symbol | the UInt8 buffer to draw into | |
| format | enum | [object Object] | The pixel format |
| initialheight | Index | The pixel height of the display | |
| initialwidth | Index | The pixel width of the display |
Methods
andmask(byte, mask): out1
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| byte | Index | ||
| mask | uint8_t |
Returns
| Name | Type | Description |
|---|---|---|
| out1 |
bufferbytes(): out1
Returns
| Name | Type | Description |
|---|---|---|
| out1 | Index |
bufferref(): out1
Returns
| Name | Type | Description |
|---|---|---|
| out1 | UInt8BufferRef |
clear(): out1
Returns
| Name | Type | Description |
|---|---|---|
| out1 |
databytes(): out1
Returns
| Name | Type | Description |
|---|---|---|
| out1 | Index |
format(): out1
Returns
| Name | Type | Description |
|---|---|---|
| out1 | Index |
height(): out1
Returns
| Name | Type | Description |
|---|---|---|
| out1 | Index |
markdirty(): out1
Returns
| Name | Type | Description |
|---|---|---|
| out1 |
next(): void
offset(x, y): out1
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| x | Int | ||
| y | Int |
Returns
| Name | Type | Description |
|---|---|---|
| out1 |
ormask(byte, mask): out1
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| byte | Index | ||
| mask | uint8_t |
Returns
| Name | Type | Description |
|---|---|---|
| out1 |
pixelbytebit(row, col): [out1, out2]
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| row | Index | ||
| col | Index |
Returns
| Name | Type | Description |
|---|---|---|
| out1 | Index | |
| out2 | Index |
ready(): out1
Returns
| Name | Type | Description |
|---|---|---|
| out1 | bool |
reset(): void
rowbytes(): out1
Returns
| Name | Type | Description |
|---|---|---|
| out1 | Index |
setpixel(row, col, value): out1
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| row | Index | ||
| col | Index | ||
| value | bool |
Returns
| Name | Type | Description |
|---|---|---|
| out1 | void |
setrgbpixel(row, col, r, g, b): out1
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| row | Index | ||
| col | Index | ||
| r | uint8_t | ||
| g | uint8_t | ||
| b | uint8_t |
Returns
| Name | Type | Description |
|---|---|---|
| out1 | void |
setrgbpixelf(row, col, r, g, b): out1
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| row | Index | ||
| col | Index | ||
| r | number | ||
| g | number | ||
| b | number |
Returns
| Name | Type | Description |
|---|---|---|
| out1 | void |
setsize(width, height): out1
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| width | Index | ||
| height | Index |
Returns
| Name | Type | Description |
|---|---|---|
| out1 |
spritedata(): [out1, out2, out3, out4, out5]
Returns
| Name | Type | Description |
|---|---|---|
| out1 | Index | |
| out2 | Index | |
| out3 | Index | |
| out4 | Index | |
| out5 | Index |
width(): out1
Returns
| Name | Type | Description |
|---|---|---|
| out1 | Index |