Class SegmentIndexStyle

  • All Implemented Interfaces:
    Style

    public class SegmentIndexStyle
    extends SegmentStyle
    • Constructor Detail

      • SegmentIndexStyle

        public SegmentIndexStyle​(java.awt.Color color)
    • Method Detail

      • paint

        protected void paint​(int index,
                             java.awt.geom.Point2D p0,
                             java.awt.geom.Point2D p1,
                             int lineType,
                             Viewport vp,
                             java.awt.Graphics2D gr)
                      throws java.lang.Exception
        Specified by:
        paint in class SegmentStyle
        p0 - the origin of the line segment, in view space
        p1 - the termination of the line segment, in view space
        Throws:
        java.lang.Exception