[−][src]Static p5_sys::global::textSize
pub static textSize: TextSizeInternalType
Sets/gets the current font size. This size will be used in all subsequent calls to the text() function. Font size is measured in pixels.
Examples
textSize(12);
text('Font Size 12', 10, 30);
textSize(14);
text('Font Size 14', 10, 60);
textSize(16);
text('Font Size 16', 10, 90);
Overloads
theSize
the size of the letters in units of pixels