width_cm属性

width_cm属性

表示注释的宽度,单位为厘米。

例子


comment1.width_cm = 1.0

定义:

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

也可以看看