rotation_angle属性
rotation_angle属性
获取和设置形状的旋转。
例子
if shape.rotation_angle == 45:
shape.rotation_angle = 60.0
定义:
@property
def rotation_angle(self):
...
@rotation_angle.setter
def rotation_angle(self, value):
...
获取和设置形状的旋转。
if shape.rotation_angle == 45:
shape.rotation_angle = 60.0
@property
def rotation_angle(self):
...
@rotation_angle.setter
def rotation_angle(self, value):
...