Class AngleLines

    • Method Detail

      • 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.
      • 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.
      • 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 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 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 IsDefaultAngleLines
        Returns:
        the line dash pattern used when stroking lines
      • setBorderDashOffset

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

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