![]() |
|
Navigation |
Synopsis Define font to be used for text.
Function
FProperty font(str fname)
Description Sets the font to be used for text.
See fontNames for a list of available fonts.
Examples
t1 = text("Rascal", font("Serif"), fontColor("Blue")); render(t1); ![]() t2 = text("Rascal", font("Monospaced"), fontColor("Red")); render(t2); ![]() ![]() |