code: def __init__(self, parent):
      self._parent = parent
      self._vbo = gloo.VertexBuffer()
  
      self._pos = None
      self._color = None
  
      self._da = DashAtlas()
      dash_index, dash_period = self._da["solid"]
      self._U = dict(
          dash_index=dash_index,
          dash_period=dash_period,
          linejoin=joins["round"],
          linecaps=(caps["round"], caps["round"]),
          dash_caps=(caps["round"], caps["round"]),
          antialias=1.0,
      )
      self._dash_atlas = gloo.Texture2D(self._da._data)
  
      Visual.__init__(
          self,
          vcode=self._shaders["vertex"],
          fcode=self._shaders["fragment"],
      )
      self._index_buffer = gloo.IndexBuffer()
      # The depth_test being disabled prevents z-ordering, but if
      # we turn it on the blending of the aa edges produces artifacts.
      self.set_gl_state("translucent", depth_test=False)
      self._draw_mode = "triangles"
  
imports: from __future__ import division
  from functools import lru_cache
  import numpy
  from ...None import gloo, glsl
  from ...color import Color, ColorArray, get_colormap
  from ..shaders import Function
  from ..visual import Visual, CompoundVisual
  from ...util.profiler import Profiler
  from .dash_atlas import DashAtlas
label_desc: Use image node_id 1 to create a new _AggLineVisual object from inherited base classes: Visual with example: obj = _AggLineVisual(parent)