Class StrokeImpl

  • All Implemented Interfaces:
    Stroke, java.io.Serializable

    public class StrokeImpl
    extends java.lang.Object
    implements java.io.Serializable, Stroke
    See Also:
    Serialized Form
    • Constructor Detail

      • StrokeImpl

        public StrokeImpl()
    • Method Detail

      • getType

        public java.lang.String getType()
        Description copied from interface: Stroke
        Gets the type.
        Specified by:
        getType in interface Stroke
        Returns:
        the type
      • setType

        public void setType​(java.lang.String type)
        Description copied from interface: Stroke
        Sets the type.
        Specified by:
        setType in interface Stroke
        Parameters:
        type - the type to set
      • getWidth

        public double getWidth()
        Description copied from interface: Stroke
        Gets the width.
        Specified by:
        getWidth in interface Stroke
        Returns:
        the width
      • setWidth

        public void setWidth​(double width)
        Description copied from interface: Stroke
        Sets the width.
        Specified by:
        setWidth in interface Stroke
        Parameters:
        width - the width to set
      • getVisibleWidth

        public double getVisibleWidth()
        Description copied from interface: Stroke
        Gets the visible width.
        Specified by:
        getVisibleWidth in interface Stroke
        Returns:
        the visibleWidth
      • setVisibleWidth

        public void setVisibleWidth​(double visibleWidth)
        Description copied from interface: Stroke
        Sets the visible width.
        Specified by:
        setVisibleWidth in interface Stroke
        Parameters:
        visibleWidth - the visibleWidth to set
      • getAlign

        public int getAlign()
        Description copied from interface: Stroke
        Gets the align.
        Specified by:
        getAlign in interface Stroke
        Returns:
        the align
      • setAlign

        public void setAlign​(int align)
        Description copied from interface: Stroke
        Sets the align.
        Specified by:
        setAlign in interface Stroke
        Parameters:
        align - the align to set
      • getMiter

        public double getMiter()
        Description copied from interface: Stroke
        Gets the miter.
        Specified by:
        getMiter in interface Stroke
        Returns:
        the miter
      • setMiter

        public void setMiter​(double miter)
        Description copied from interface: Stroke
        Sets the miter.
        Specified by:
        setMiter in interface Stroke
        Parameters:
        miter - the miter to set
      • getOverprint

        public int getOverprint()
        Description copied from interface: Stroke
        Gets the overprint.
        Specified by:
        getOverprint in interface Stroke
        Returns:
        the overprint
      • setOverprint

        public void setOverprint​(int overprint)
        Description copied from interface: Stroke
        Sets the overprint.
        Specified by:
        setOverprint in interface Stroke
        Parameters:
        overprint - the overprint to set
      • getGapoverprint

        public int getGapoverprint()
        Description copied from interface: Stroke
        Gets the gapoverprint.
        Specified by:
        getGapoverprint in interface Stroke
        Returns:
        the gapoverprint
      • setGapoverprint

        public void setGapoverprint​(int gapoverprint)
        Description copied from interface: Stroke
        Sets the gapoverprint.
        Specified by:
        setGapoverprint in interface Stroke
        Parameters:
        gapoverprint - the gapoverprint to set
      • getCap

        public java.lang.String getCap()
        Description copied from interface: Stroke
        Gets the cap.
        Specified by:
        getCap in interface Stroke
        Returns:
        the cap
      • setCap

        public void setCap​(java.lang.String cap)
        Description copied from interface: Stroke
        Sets the cap.
        Specified by:
        setCap in interface Stroke
        Parameters:
        cap - the cap to set
      • getJoin

        public java.lang.String getJoin()
        Description copied from interface: Stroke
        Gets the join.
        Specified by:
        getJoin in interface Stroke
        Returns:
        the join
      • setJoin

        public void setJoin​(java.lang.String join)
        Description copied from interface: Stroke
        Sets the join.
        Specified by:
        setJoin in interface Stroke
        Parameters:
        join - the join to set
      • getStart

        public java.lang.String getStart()
        Description copied from interface: Stroke
        Gets the start.
        Specified by:
        getStart in interface Stroke
        Returns:
        the start
      • setStart

        public void setStart​(java.lang.String start)
        Description copied from interface: Stroke
        Sets the start.
        Specified by:
        setStart in interface Stroke
        Parameters:
        start - the start to set
      • getEnd

        public java.lang.String getEnd()
        Description copied from interface: Stroke
        Gets the end.
        Specified by:
        getEnd in interface Stroke
        Returns:
        the end
      • setEnd

        public void setEnd​(java.lang.String end)
        Description copied from interface: Stroke
        Sets the end.
        Specified by:
        setEnd in interface Stroke
        Parameters:
        end - the end to set
      • getColor

        public Color getColor()
        Description copied from interface: Stroke
        Color Gets the color.
        Specified by:
        getColor in interface Stroke
        Returns:
        the color
        See Also:
        Color
      • setColor

        public void setColor​(Color color)
        Description copied from interface: Stroke
        Color Sets the color.
        Specified by:
        setColor in interface Stroke
        Parameters:
        color - the color to set
        See Also:
        Color
      • getGapcolor

        public Color getGapcolor()
        Description copied from interface: Stroke
        Color Gets the gapcolor.
        Specified by:
        getGapcolor in interface Stroke
        Returns:
        the gapcolor
        See Also:
        Color
      • setGapcolor

        public void setGapcolor​(Color gapcolor)
        Description copied from interface: Stroke
        Color Sets the gapcolor.
        Specified by:
        setGapcolor in interface Stroke
        Parameters:
        gapcolor - the gapcolor to set
        See Also:
        Color