基类:object
object
点坐标
Attributes Summary
x
x 坐标
y
y 坐标
Attributes Documentation
float
实际案例
>>> import opt >>> pos = opt.Pos(1, 2) >>> print(pos.x) 1
>>> import opt >>> pos = opt.Pos(1, 2) >>> print(pos.y) 2