Model.menufont#

Model.menufont(size)#

Sets the size of the menu font.

Parameters:

size (int) – The size of the font to be used for the menu (1 - smallest, 4 - largest).

Example#

Set the smallest font size for the menu#
import hm
import hm.entities as ent

model = hm.Model()

model.menufont(size=1)