Skip to content

Commit cb1fd48

Browse files
committed
update engine
1 parent 15c9209 commit cb1fd48

File tree

5 files changed

+75
-44
lines changed

5 files changed

+75
-44
lines changed

public/about.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ <h2><a id="drawing">Functions for Drawing</a></h2>
442442
* TEXT DRAWING-RELATED FUNCTIONS
443443
*/
444444

445-
// Draw a text
445+
// Draw a text. Use "\n" to break lines.
446446
// style can be "normal", "italic" and/or "bold"
447447
text(x, y, text, color? = 3, style? = 'normal'): void
448448

@@ -458,6 +458,10 @@ <h2><a id="drawing">Functions for Drawing</a></h2>
458458
// Sets the font size (default: 18)
459459
textsize(size: number): void
460460

461+
// Sets the distance of the text lines based on current text size.
462+
// Default = 1.2
463+
textgap(value: number): void
464+
461465
/**
462466
* IMAGE DRAWING-RELATED FUNCTIONS
463467
*/

public/js/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)