Class AngleLines

    • Method Detail

      • setDisplay

        public void setDisplay​(boolean display)
        If true, angle lines are shown
        Parameters:
        display - if true, angle lines are shown
      • isDisplay

        public boolean isDisplay()
        If true, angle lines are shown
        Specified by:
        isDisplay in interface IsDefaultAngleLines
        Returns:
        if true, angle lines are shown.
      • setColor

        public void setColor​(IsColor color)
        Sets the color of angled lines.
        Parameters:
        color - color of angled lines.
      • setColor

        public void setColor​(String color)
        Sets the color of angled lines.
        Parameters:
        color - color of angled lines.
      • getColor

        public IsColor getColor()
        Returns the color of angled lines.
        Returns:
        color of angled lines.
      • setLineWidth

        public void setLineWidth​(int lineWidth)
        Sets the width of angled lines.
        Parameters:
        lineWidth - width of angled lines.
      • getLineWidth

        public int getLineWidth()
        Returns the width of angled lines.
        Specified by:
        getLineWidth in interface IsDefaultScaleLines
        Returns:
        width of angled lines.
      • setBorderDash

        public final void setBorderDash​(int... borderDash)
        Sets the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.
        Parameters:
        borderDash - the line dash pattern used when stroking lines
      • getBorderDash

        public final List<Integer> getBorderDash()
        Returns the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.
        Specified by:
        getBorderDash in interface IsDefaultScaleLines
        Returns:
        the line dash pattern used when stroking lines
      • setBorderDashOffset

        public final void setBorderDashOffset​(double borderDashOffset)
        Sets the line dash pattern offset.
        Parameters:
        borderDashOffset - Offset for line dashes.
      • getBorderDashOffset

        public final double getBorderDashOffset()
        Returns the line dash pattern offset.
        Specified by:
        getBorderDashOffset in interface IsDefaultScaleLines
        Returns:
        Offset for line dashes.