get_connection_points方法

get_connection_points(self)

获取连接点

返回

连接点的 [X,Y] 对。每一项都是一个 float[2] 数组,[0] 代表 x,[1] 代表 y。


def get_connection_points(self):
    ...

例子


points = shape.get_connection_points()

也可以看看