class_docstr: Line visual
  
  Parameters
  ----------
  pos : array
      Array of shape (..., 2) or (..., 3) specifying vertex coordinates.
  color : Color, tuple, or array
      The color to use when drawing the line. If an array is given, it
      must be of shape (..., 4) and provide one rgba color per vertex.
      Can also be a colormap name, or appropriate `Function`.
  width:
      The width of the line in px. Line widths > 1px are only
      guaranteed to work when using 'agg' method.
  connect : str or array
      Determines which vertices are connected by lines.
  
          * "strip" causes the line to be drawn with each vertex
            connected to the next.
          * "segments" causes each pair of vertices to draw an
            independent line segment
          * numpy arrays specify the exact set of segment pairs to
            connect.
  
  method : str
      Mode to use for drawing.
  
          * "agg" uses anti-grain geometry to draw nicely antialiased lines
            with proper joins and endcaps.
          * "gl" uses OpenGL's built-in line rendering. This is much faster,
            but produces much lower-quality results and is not guaranteed to
            obey the requested line width or join/endcap styles.
  
  antialias : bool
      Enables or disables antialiasing.
      For method='gl', this specifies whether to use GL's line smoothing,
      which may be unavailable or inconsistent on some platforms.
class_docstr_tok: ["Line","visual","Parameters","--","--","--","--","--","pos",":","array","Array","of","shape","(","...",",","2",")","or","(","...",",","3",")","specifying","vertex","coordinates",".","color",":","Color",",","tuple",",","or","array","The","color","to","use","when","drawing","the","line",".","If","an","array","is","given",",","it","must","be","of","shape","(","...",",","4",")","and","provide","one","rgba","color","per","vertex",".","Can","also","be","a","colormap","name",",","or","appropriate","`","Function","`",".","width",":","The","width","of","the","line","in","px",".","Line","widths",">","1px","are","only","guaranteed","to","work","when","using","'agg","'","method",".","connect",":","str","or","array","Determines","which","vertices","are","connected","by","lines",".","*","``","strip","''","causes","the","line","to","be","drawn","with","each","vertex","connected","to","the","next",".","*","``","segments","''","causes","each","pair","of","vertices","to","draw","an","independent","line","segment","*","numpy","arrays","specify","the","exact","set","of","segment","pairs","to","connect",".","method",":","str","Mode","to","use","for","drawing",".","*","``","agg","''","uses","anti-grain","geometry","to","draw","nicely","antialiased","lines","with","proper","joins","and","endcaps",".","*","``","gl","''","uses","OpenGL","'s","built-in","line","rendering",".","This","is","much","faster",",","but","produces","much","lower-quality","results","and","is","not","guaranteed","to","obey","the","requested","line","width","or","join\/endcap","styles",".","antialias",":","bool","Enables","or","disables","antialiasing",".","For","method='gl","'",",","this","specifies","whether","to","use","GL","'s","line","smoothing",",","which","may","be","unavailable","or","inconsistent","on","some","platforms","."]
code: def antialias(self):
      return self._antialias
  
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 4 for calling the LineVisual obj's underlying member method code with example usage: obj.antialias() and returns: self