mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-22 02:19:44 +00:00
fix docs typos and other trash
This commit is contained in:
parent
9744407599
commit
ef61e28f50
88 changed files with 359 additions and 358 deletions
|
|
@ -11,8 +11,8 @@ local worldsPanel = document["worlds-panel"]
|
|||
print(worldsPanel.pos)
|
||||
```
|
||||
|
||||
The IDs of the elements are global for the document, that is, *worlds-panel* can be located either in the root element,
|
||||
and in a nested container.
|
||||
The IDs of the elements are global for the document, that is, *worlds-panel* can be located either in the root element
|
||||
or in a nested container.
|
||||
|
||||
The element id cannot be changed from a script.
|
||||
|
||||
|
|
@ -204,7 +204,7 @@ Here, *color* can be specified in the following ways:
|
|||
| data:unbind_texture() | unbinds the texture from the canvas |
|
||||
| data:mul(*color* or Canvas) | multiplies a color by the specified color or canvas |
|
||||
| data:add(*color* or Canvas) | adds a color or another canvas to a color |
|
||||
| data:sub(*color* or Canvas) | subtracts a color or another canvas to a color |
|
||||
| data:sub(*color* or Canvas) | subtracts a color or another canvas from a color |
|
||||
| data:encode(format: str) | encodes image to specified format and returns bytearray |
|
||||
|
||||
To decode a byte array into a Canvas, use the static method:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue