width_pt 属性

width_pt 属性

表示形状的宽度,以磅为单位。

例子


if shape.width_pt == 3:
    shape.width_pt = 1

定义:

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

也可以看看