Class StrokeImpl

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

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

      • StrokeImpl

        public StrokeImpl()
    • Method Detail

      • getSimpleValue

        public java.lang.String getSimpleValue()
        Specified by:
        getSimpleValue in interface Stroke
      • setSimpleValue

        public void setSimpleValue​(java.lang.String strokeAttr)
        Specified by:
        setSimpleValue in interface Stroke
      • getWeight

        public double getWeight()
        Description copied from interface: Stroke
        Gets the weight.
        Specified by:
        getWeight in interface Stroke
        Returns:
        the weight
      • setWeight

        public void setWeight​(double weight)
        Description copied from interface: Stroke
        Sets the weight.
        Specified by:
        setWeight in interface Stroke
        Parameters:
        weight - the new weight
      • getType

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

        public void setType​(int type)
        Description copied from interface: Stroke
        Sets the type.
        Specified by:
        setType in interface Stroke
        Parameters:
        type - the new type
      • getStartType

        public int getStartType()
        Description copied from interface: Stroke
        Gets the start type.
        Specified by:
        getStartType in interface Stroke
        Returns:
        the start type
      • setStartType

        public void setStartType​(int startType)
        Description copied from interface: Stroke
        Sets the start type.
        Specified by:
        setStartType in interface Stroke
        Parameters:
        startType - the new start type
      • getEndType

        public int getEndType()
        Description copied from interface: Stroke
        Gets the end type.
        Specified by:
        getEndType in interface Stroke
        Returns:
        the end type
      • setEndType

        public void setEndType​(int endType)
        Description copied from interface: Stroke
        Sets the end type.
        Specified by:
        setEndType in interface Stroke
        Parameters:
        endType - the new end type
      • 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 new miter
      • getAlignment

        public int getAlignment()
        Description copied from interface: Stroke
        Gets the alignment.
        Specified by:
        getAlignment in interface Stroke
        Returns:
        the alignment
      • setAlignment

        public void setAlignment​(int alignment)
        Description copied from interface: Stroke
        Sets the alignment.
        Specified by:
        setAlignment in interface Stroke
        Parameters:
        alignment - the new alignment
      • getJoin

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

        public void setJoin​(int join)
        Description copied from interface: Stroke
        Sets the join.
        Specified by:
        setJoin in interface Stroke
        Parameters:
        join - the new join
      • getCap

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

        public void setCap​(int cap)
        Description copied from interface: Stroke
        Sets the cap.
        Specified by:
        setCap in interface Stroke
        Parameters:
        cap - the new cap
      • getColorSpace

        public java.lang.String getColorSpace()
        Description copied from interface: Stroke
        Gets the color space.
        Specified by:
        getColorSpace in interface Stroke
        Returns:
        the color space
      • setColorSpace

        public void setColorSpace​(java.lang.String colorSpace)
        Description copied from interface: Stroke
        Sets the color space.
        Specified by:
        setColorSpace in interface Stroke
        Parameters:
        colorSpace - the new color space
      • getColorName

        public java.lang.String getColorName()
        Description copied from interface: Stroke
        Gets the color name.
        Specified by:
        getColorName in interface Stroke
        Returns:
        the color name
      • setColorName

        public void setColorName​(java.lang.String colorName)
        Description copied from interface: Stroke
        Sets the color name.
        Specified by:
        setColorName in interface Stroke
        Parameters:
        colorName - the new color name
      • getColor1

        public double getColor1()
        Description copied from interface: Stroke
        Gets the color 1.
        Specified by:
        getColor1 in interface Stroke
        Returns:
        the color 1
      • setColor1

        public void setColor1​(double color1)
        Description copied from interface: Stroke
        Sets the color 1.
        Specified by:
        setColor1 in interface Stroke
        Parameters:
        color1 - the new color 1
      • getColor2

        public double getColor2()
        Description copied from interface: Stroke
        Gets the color 2.
        Specified by:
        getColor2 in interface Stroke
        Returns:
        the color 2
      • setColor2

        public void setColor2​(double color2)
        Description copied from interface: Stroke
        Sets the color 2.
        Specified by:
        setColor2 in interface Stroke
        Parameters:
        color2 - the new color 2
      • getColor3

        public double getColor3()
        Description copied from interface: Stroke
        Gets the color 3.
        Specified by:
        getColor3 in interface Stroke
        Returns:
        the color 3
      • setColor3

        public void setColor3​(double color3)
        Description copied from interface: Stroke
        Sets the color 3.
        Specified by:
        setColor3 in interface Stroke
        Parameters:
        color3 - the new color 3
      • getColor4

        public double getColor4()
        Description copied from interface: Stroke
        Gets the color 4.
        Specified by:
        getColor4 in interface Stroke
        Returns:
        the color 4
      • setColor4

        public void setColor4​(double color4)
        Description copied from interface: Stroke
        Sets the color 4.
        Specified by:
        setColor4 in interface Stroke
        Parameters:
        color4 - the new color 4
      • getTint

        public double getTint()
        Description copied from interface: Stroke
        Gets the tint.
        Specified by:
        getTint in interface Stroke
        Returns:
        the tint
      • setTint

        public void setTint​(double tint)
        Description copied from interface: Stroke
        Sets the tint.
        Specified by:
        setTint in interface Stroke
        Parameters:
        tint - the new tint
      • getGapColorSpace

        public java.lang.String getGapColorSpace()
        Description copied from interface: Stroke
        Gets the gap color space.
        Specified by:
        getGapColorSpace in interface Stroke
        Returns:
        the gap color space
      • setGapColorSpace

        public void setGapColorSpace​(java.lang.String gapColorSpace)
        Description copied from interface: Stroke
        Sets the gap color space.
        Specified by:
        setGapColorSpace in interface Stroke
        Parameters:
        gapColorSpace - the new gap color space
      • getGapColorName

        public java.lang.String getGapColorName()
        Description copied from interface: Stroke
        Gets the gap color name.
        Specified by:
        getGapColorName in interface Stroke
        Returns:
        the gap color name
      • setGapColorName

        public void setGapColorName​(java.lang.String gapColorName)
        Description copied from interface: Stroke
        Sets the gap color name.
        Specified by:
        setGapColorName in interface Stroke
        Parameters:
        gapColorName - the new gap color name
      • getGapColor1

        public double getGapColor1()
        Description copied from interface: Stroke
        Gets the gap color 1.
        Specified by:
        getGapColor1 in interface Stroke
        Returns:
        the gap color 1
      • setGapColor1

        public void setGapColor1​(double gapColor1)
        Description copied from interface: Stroke
        Sets the gap color 1.
        Specified by:
        setGapColor1 in interface Stroke
        Parameters:
        gapColor1 - the new gap color 1
      • getGapColor2

        public double getGapColor2()
        Description copied from interface: Stroke
        Gets the gap color 2.
        Specified by:
        getGapColor2 in interface Stroke
        Returns:
        the gap color 2
      • setGapColor2

        public void setGapColor2​(double gapColor2)
        Description copied from interface: Stroke
        Sets the gap color 2.
        Specified by:
        setGapColor2 in interface Stroke
        Parameters:
        gapColor2 - the new gap color 2
      • getGapColor3

        public double getGapColor3()
        Description copied from interface: Stroke
        Gets the gap color 3.
        Specified by:
        getGapColor3 in interface Stroke
        Returns:
        the gap color 3
      • setGapColor3

        public void setGapColor3​(double gapColor3)
        Description copied from interface: Stroke
        Sets the gap color 3.
        Specified by:
        setGapColor3 in interface Stroke
        Parameters:
        gapColor3 - the new gap color 3
      • getGapColor4

        public double getGapColor4()
        Description copied from interface: Stroke
        Gets the gap color 4.
        Specified by:
        getGapColor4 in interface Stroke
        Returns:
        the gap color 4
      • setGapColor4

        public void setGapColor4​(double gapColor4)
        Description copied from interface: Stroke
        Sets the gap color 4.
        Specified by:
        setGapColor4 in interface Stroke
        Parameters:
        gapColor4 - the new gap color 4
      • getGapTint

        public double getGapTint()
        Description copied from interface: Stroke
        Gets the gap tint.
        Specified by:
        getGapTint in interface Stroke
        Returns:
        the gap tint
      • setGapTint

        public void setGapTint​(double gapTint)
        Description copied from interface: Stroke
        Sets the gap tint.
        Specified by:
        setGapTint in interface Stroke
        Parameters:
        gapTint - the new gap tint