Set size of text
Last updated 2 years ago
This function sets or gets the current font size. This size will be used in all subsequent calls to the function.
textSize(number)
number
The size of the text in pixels
10
textSize(10) text("ABCD", 15, 25) textSize(20) text("ABCD", 15, 50) textSize(30) text("ABCD", 15, 75)
Find these documents helpful? Let the people who made them help your child learn to code at !
We'd love to hear your Feedback/Comments .