code: function buildNativeLine(graphicsData, graphicsGeometry)
  {
      let i = 0;
  
      const points = graphicsData.points || graphicsData.shape.points;
  
      if (points.length === 0) return;
  
      const verts = graphicsGeometry.points;
      const indices = graphicsGeometry.indices;
      const length = points.length / 2;
  
      let indexStart = verts.length / 2;
      // sort color
  
      for (i = 1; i < length; i++)
      {
          const p1x = points[(i - 1) * 2];
          const p1y = points[((i - 1) * 2) + 1];
  
          const p2x = points[i * 2];
          const p2y = points[(i * 2) + 1];
  
          verts.push(p1x, p1y);
  
          verts.push(p2x, p2y);
  
          indices.push(indexStart++, indexStart++);
      }
  }
docs: Builds a line to draw using the gl.drawArrays(gl.LINES) method
  
  Ignored from docs since it is not directly exposed.
  
  @ignore
  @private
  @param {PIXI.GraphicsData} graphicsData - The graphics object containing all the necessary properties
  @param {PIXI.GraphicsGeometry} graphicsGeometry - Geometry where to append output