from enum import Enum class EnumInterfaceModes(Enum): RENDER_POLY = 0 RENDER_RR = 1 RENDER_MASK = 3 MODE_NEW_POLY = 2 MODE_SELECTION = 3