Lines Matching defs:ImgLoc
30 class ImgLoc(enum.Enum):
105 if location == ImgLoc.East.value:
107 elif location == ImgLoc.South.value:
109 elif location == ImgLoc.West.value:
111 elif location == ImgLoc.North.value:
114 elif location == ImgLoc.North_East.value:
117 elif location == ImgLoc.South_East.value:
120 elif location == ImgLoc.North_West.value:
122 elif location == ImgLoc.South_West.value:
130 rect=None, loc=ImgLoc.All.value, debug=False):
143 @param loc: 小图在大图中的什么部位,是一个枚举对象,ImgLoc,注意需要
144 加.value;如: ImgLoc.North.value 或者 直接输入 1 -9 的数字也行