Class LineSetPainter

    • Constructor Detail

      • LineSetPainter

        public LineSetPainter()
      • LineSetPainter

        public LineSetPainter​(boolean enableSpatialIndex)
    • Method Detail

      • setLineStyle

        public void setLineStyle​(LineStyle style)
      • setData

        public void setData​(float[] dataX,
                            float[] dataY)
      • setData

        public void setData​(float[][] dataX,
                            float[][] dataY)
        Adds multiple tracks containing series of (x,y) positions to be painter. The positions of a single track are connected by lines. dataX[0] is an array containing the x coordinates of the positions in track id 0. dataX[0][0] is the x coordinate of point id 0 in track id 0. The ids are used when making spatial or temporal queries on this painter.
        Parameters:
        dataX - x coordinate data for all points in all tracks
        dataY - y coordinate data for all points in all tracks
      • setLineColor

        public void setLineColor​(float r,
                                 float g,
                                 float b,
                                 float a)
      • setLineColor

        public void setLineColor​(float[] color)
      • setLineWidth

        public void setLineWidth​(float size)