How to "getFont" (read currently used font) #1387
Answered
by
olikraus
venice1200
asked this question in
Q&A
-
Hi, I like to store the currently used font temporarily in an variable, Is the an getFont or another way to do this. |
Beta Was this translation helpful? Give feedback.
Answered by
olikraus
Jan 30, 2021
Replies: 1 comment 5 replies
-
You can just declare a variable like this:
Then assign any font to this variable and use the variable as argument for setFont. |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
venice1200
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can just declare a variable like this:
Then assign any font to this variable and use the variable as argument for setFont.