micojs / micojs.github.io

9 stars 0 forks source link

Include scale parameter in `text` function #22

Open lucentbeam opened 1 year ago

lucentbeam commented 1 year ago

Would be really convenient and helpful (especially for multiplatform support) to have the text signature have an optional fourth parameter:

text(message:string, x?:number, y?:number, scale?:number)

Defaulting to 1, of course.