Update AutomateHowTo.md

This commit is contained in:
zsviczian
2021-05-02 21:51:24 +02:00
committed by GitHub
parent f936fbbed5
commit af2aa4d5a6

View File

@@ -38,6 +38,7 @@ You can change styling between adding different elements. My logic for separatin
%>
```
The script will generate the following drawing:
![FristDemo](https://user-images.githubusercontent.com/14358394/116825643-6e5a8b00-ab90-11eb-9e3a-37c524620d0d.png)
## Attributes and functions at a glance
@@ -189,6 +190,7 @@ Allowed values are [HTML color names](https://www.w3schools.com/colors/colors_na
## Adding objects
These functions will add objects to your drawing. The canvas is infinite, and it accepts negative and positive X and Y values. The top left corner x values increase left to right, y values increase top to bottom.
![coordinates](https://user-images.githubusercontent.com/14358394/116825632-6569b980-ab90-11eb-827b-ada598e91e46.png)
### addRect(), addDiamond, addEllipse