Model.graphicfont#

Model.graphicfont(size)#

Sets the size of the graphics font.

Parameters:

size (int) – The font size to use. Valid values are 1 (smallest) through 4 (largest).

Example#

Set the graphic font size to 2#
import hm
import hm.entities as ent

model = hm.Model()

model.graphicfont(size=2)