Class SegmentStyle

    • Constructor Detail

      • SegmentStyle

        public SegmentStyle()
    • Method Detail

      • paintLineString

        protected void paintLineString​(LineString lineString,
                                       int lineType,
                                       Viewport viewport,
                                       java.awt.Graphics2D graphics)
                                throws java.lang.Exception
        Specified by:
        paintLineString in class LineStringStyle
        Throws:
        java.lang.Exception
      • paint

        protected void paint​(int index,
                             Coordinate p0,
                             Coordinate p1,
                             int lineType,
                             Viewport viewport,
                             java.awt.Graphics2D g)
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • paint

        protected abstract void paint​(int index,
                                      java.awt.geom.Point2D p0,
                                      java.awt.geom.Point2D p1,
                                      int lineType,
                                      Viewport viewport,
                                      java.awt.Graphics2D graphics)
                               throws java.lang.Exception
        Parameters:
        p0 - the origin of the line segment, in view space
        p1 - the termination of the line segment, in view space
        viewport -
        graphics -
        Throws:
        java.lang.Exception