Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Register now
Changes
Page history
[~]api/*: fixed links to other pages
authored
Mar 13, 2020
by
cactusfluo
Hide whitespace changes
Inline
Side-by-side
api/drawing-functions.md
View page @
bb35b7d0
...
...
@@ -68,7 +68,7 @@ Puts the passed charater at each cell of the active layer.
Draws a line from
`[x0, y0]`
to
`[x1, y1]`
on the active layer with the passed
character. If no character is passed,
`line()`
will use the set line character
(see
[
set_line_char
](
#set_line_char
)
).
(see
[
set_line_char
()
](
#set_line_char
)
).
### Parameters:
-
`x0`
Number: x coordinate of the first point
...
...
@@ -147,10 +147,10 @@ with "012345678"
8: bottom-right corner
```
The border string can also be set through
`set_rect_border()`
(see
[
set_rect_border
](
#set_rect_border
)
).
[
set_rect_border
()
](
#set_rect_border
)
).
By default, the top-left corner of the rectangle is placed at the passed
coordinates, but it can also be placed differently via
`set_rect_mode()`
(see
[
set_rect_mode
](
#set_rect_mode
)
).
[
set_rect_mode
()
](
#set_rect_mode
)
).
### Parameters:
-
`x`
Number: x coordinate of the rectangle
...
...
...
...