height属性
height属性
代表形状的height,以像素为单位。
例子
if shape.height == 3:
shape.height = 1
定义:
@property
def height(self):
...
@height.setter
def height(self, value):
...
代表形状的height,以像素为单位。
if shape.height == 3:
shape.height = 1
@property
def height(self):
...
@height.setter
def height(self, value):
...