const Cogl = imports.gi.Cogl; let vertexP2 = new Cogl.VertexP2({ x: value y: value });
A convenience vertex definition that can be used with Cogl.Primitive.new_p2.
Since 1.6