Class SVGStrokeDescriptor

    • Field Detail

      • strokeWidth

        private java.lang.String strokeWidth
      • capStyle

        private java.lang.String capStyle
      • joinStyle

        private java.lang.String joinStyle
      • miterLimit

        private java.lang.String miterLimit
      • dashArray

        private java.lang.String dashArray
      • dashOffset

        private java.lang.String dashOffset
    • Constructor Detail

      • SVGStrokeDescriptor

        public SVGStrokeDescriptor​(java.lang.String strokeWidth,
                                   java.lang.String capStyle,
                                   java.lang.String joinStyle,
                                   java.lang.String miterLimit,
                                   java.lang.String dashArray,
                                   java.lang.String dashOffset)
    • Method Detail

      • getStrokeWidth

        java.lang.String getStrokeWidth()
      • getCapStyle

        java.lang.String getCapStyle()
      • getJoinStyle

        java.lang.String getJoinStyle()
      • getMiterLimit

        java.lang.String getMiterLimit()
      • getDashArray

        java.lang.String getDashArray()
      • getDashOffset

        java.lang.String getDashOffset()
      • getAttributeMap

        public java.util.Map getAttributeMap​(java.util.Map attrMap)
        Specified by:
        getAttributeMap in interface SVGDescriptor
        Parameters:
        attrMap - if not null, attribute name/value pairs for this descriptor should be written in this Map. Otherwise, a new Map will be created and attribute name/value pairs will be written into it.
        Returns:
        a map containing the SVG attributes needed by the descriptor.
      • getDefinitionSet

        public java.util.List getDefinitionSet​(java.util.List defSet)
        Specified by:
        getDefinitionSet in interface SVGDescriptor
        Parameters:
        defSet - if not null, definitions required to provide targets for the descriptor attribute values will be copied into defSet. If null, a new Set should be created and definitions copied into it. The set contains zero, one or more Elements.
        Returns:
        a set containing Elements that represent the definition of the descriptor's attribute values