relative_to_original_picture_size属性

relative_to_original_picture_size属性

表示形状是否与原始图片大小相关。

例子


if shape.relative_to_original_picture_size:
    shape.relative_to_original_picture_size = False

定义:

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

也可以看看