setFont()
Set current font. Selected font will be used by
text()
command.
Syntax:
setFont(
path
)
Example:
text(100,120,32,"hello")
setfont(
" c:/Windows/Fonts/impact.ttf "
)
text(100,160,32,"hello")
waitKey