Add missing periods
This commit is contained in:
parent
593a549eef
commit
5e00b43000
|
@ -22,7 +22,7 @@ Allocate a new memory buffer to store LED values.
|
||||||
`pixbuf.buffer` object
|
`pixbuf.buffer` object
|
||||||
|
|
||||||
## pixbuf.buffer:get()
|
## pixbuf.buffer:get()
|
||||||
Return the value at the given position, in native strip color order
|
Return the value at the given position, in native strip color order.
|
||||||
|
|
||||||
#### Syntax
|
#### Syntax
|
||||||
`buffer:get(index)`
|
`buffer:get(index)`
|
||||||
|
@ -41,7 +41,7 @@ print(buffer:get(1))
|
||||||
```
|
```
|
||||||
|
|
||||||
## pixbuf.buffer:set()
|
## pixbuf.buffer:set()
|
||||||
Set the value at the given position, in native strip color order
|
Set the value at the given position, in native strip color order.
|
||||||
|
|
||||||
#### Syntax
|
#### Syntax
|
||||||
`buffer:set(index, color)`
|
`buffer:set(index, color)`
|
||||||
|
@ -77,7 +77,7 @@ buffer = pixbuf.newBuffer(32, 3):set(1, string.char(0, 255, 0))
|
||||||
```
|
```
|
||||||
|
|
||||||
## pixbuf.buffer:size()
|
## pixbuf.buffer:size()
|
||||||
Return the size of the buffer in number of LEDs
|
Return the size of the buffer in number of LEDs.
|
||||||
|
|
||||||
#### Syntax
|
#### Syntax
|
||||||
`buffer:size()`
|
`buffer:size()`
|
||||||
|
@ -89,7 +89,7 @@ none
|
||||||
`int`
|
`int`
|
||||||
|
|
||||||
## pixbuf.buffer:channels()
|
## pixbuf.buffer:channels()
|
||||||
Return the buffer's channel count
|
Return the buffer's channel count.
|
||||||
|
|
||||||
#### Syntax
|
#### Syntax
|
||||||
`buffer:channels()`
|
`buffer:channels()`
|
||||||
|
|
Loading…
Reference in New Issue