is_same_setting方法

is_same_setting(obj)

返回形状是否相同。

返回

def is_same_setting(self, obj):
    ...
范围 类型 描述
obj any

例子


if shape.is_same_setting(shape):
    print("Two objects the same.")

也可以看看