OnVertexDragStart typedef

OnVertexDragStart = void Function(int edgeIndex, Point<double> position)

顶点拖动开始时的回调函数类型定义 vertexIndex 顶点索引 position 顶点在图片坐标系中的位置

Implementation

typedef OnVertexDragStart = void Function(
    int vertexIndex, Point<double> position);