Interface OutlineStyle

  • All Superinterfaces:
    Style
    All Known Implementing Classes:
    CustomTile, TextBox

    public interface OutlineStyle
    extends Style
    Implemented by page items that consist of a shape that can have an outline.
    Since:
    3.0
    Author:
    Chris Jennings
    • Method Detail

      • getOutlineColor

        java.awt.Color getOutlineColor()
        Returns the color used to draw the outline.
        Returns:
        the outline color
      • setOutlineColor

        void setOutlineColor​(java.awt.Color borderColor)
        Sets the color used to draw the outline.
        Parameters:
        borderColor - the outline color
      • getOutlineWidth

        float getOutlineWidth()
        Returns the width, in points, of the outline.
        Returns:
        the outline line width
      • setOutlineWidth

        void setOutlineWidth​(float borderWidth)
        Sets the width, in points, of the outline.
        Parameters:
        borderWidth - the outline width
      • getOutlineDashPattern

        DashPattern getOutlineDashPattern()
        Returns the dash pattern used to draw the outline.
        Returns:
        the dash pattern for the outline
      • setOutlineDashPattern

        void setOutlineDashPattern​(DashPattern pat)
        Sets the dash pattern used to draw the outline.
        Parameters:
        pat - the dash pattern type
      • getOutlineCap

        LineCap getOutlineCap()
        Returns the line cap style used on outline ends.
        Returns:
        the line cap style
      • setOutlineCap

        void setOutlineCap​(LineCap cap)
        Sets the line cap style used on outline ends.
        Parameters:
        cap - the line cap type
      • getOutlineJoin

        LineJoin getOutlineJoin()
        Returns the method used to join the line segments that make up the outline.
        Returns:
        the line joining method
      • setOutlineJoin

        void setOutlineJoin​(LineJoin join)
        Sets the method used to join the line segments that make up the outline.
        Parameters:
        join - the line joining method