void setVertexXY(int vertex, num x, num y)

Set the XY values of a vertex.

The XY values define the position of the vertex in the local coordinate system of the Display Object.

Source

void setVertexXY(int vertex, num x, num y) {
  var offset = vertex << 2;
  vxList[offset + 0] = x.toDouble();
  vxList[offset + 1] = y.toDouble();
}