public commands() as ArrayList<String>
Returns the command history recorded by this painter.
print(painter.commands().size)