rotation_angle عقار

rotation_angle عقار

يحصل على دوران الشكل ويحدده.

مثال


# Gets rotation angle of the shape.
angle = shape.rotation_angle
# Gets rotation angle of the shape.
shape.rotation_angle = 60.0

تعريف:

@property
def rotation_angle(self):
    ...
@rotation_angle.setter
def rotation_angle(self, value):
    ...

أنظر أيضا