Class Svg


  • @NoTests
    public abstract class Svg
    extends Object
    SVG element constructors. Using methods of this class is preferable to instantiating element classes directly.
    • Constructor Detail

      • Svg

        public Svg()
    • Method Detail

      • a

        public static DomElement a()
        Creates new <a> element.
        Returns:
        new <a> element
      • altGlyph

        public static DomElement altGlyph()
        Creates new <altGlyph> element.
        Returns:
        new <altGlyph> element
      • altGlyphDef

        public static DomElement altGlyphDef()
        Creates new <altGlyphDef> element.
        Returns:
        new <altGlyphDef> element
      • altGlyphItem

        public static DomElement altGlyphItem()
        Creates new <altGlyphItem> element.
        Returns:
        new <altGlyphItem> element
      • animate

        public static DomElement animate()
        Creates new <animate> element.
        Returns:
        new <animate> element
      • animateColor

        public static DomElement animateColor()
        Creates new <animateColor> element.
        Returns:
        new <animateColor> element
      • animateMotion

        public static DomElement animateMotion()
        Creates new <animateMotion> element.
        Returns:
        new <animateMotion> element
      • animateTransform

        public static DomElement animateTransform()
        Creates new <animateTransform> element.
        Returns:
        new <animateTransform> element
      • circle

        public static DomElement circle()
        Creates new <circle> element.
        Returns:
        new <circle> element
      • clipPath

        public static DomElement clipPath()
        Creates new <clipPath> element.
        Returns:
        new <clipPath> element
      • colorProfile

        public static DomElement colorProfile()
        Creates new <color-profile> element.
        Returns:
        new <color-profile> element
      • cursor

        public static DomElement cursor()
        Creates new <cursor> element.
        Returns:
        new <cursor> element
      • defs

        public static DomElement defs()
        Creates new <defs> element.
        Returns:
        new <defs> element
      • desc

        public static DomElement desc()
        Creates new <desc> element.
        Returns:
        new <desc> element
      • ellipse

        public static DomElement ellipse()
        Creates new <ellipse> element.
        Returns:
        new <ellipse> element
      • feBlend

        public static DomElement feBlend()
        Creates new <feBlend> element.
        Returns:
        new <feBlend> element
      • feColorMatrix

        public static DomElement feColorMatrix()
        Creates new <feColorMatrix> element.
        Returns:
        new <feColorMatrix> element
      • feComponentTransfer

        public static DomElement feComponentTransfer()
        Creates new <feComponentTransfer> element.
        Returns:
        new <feComponentTransfer> element
      • feComposite

        public static DomElement feComposite()
        Creates new <feComposite> element.
        Returns:
        new <feComposite> element
      • feConvolveMatrix

        public static DomElement feConvolveMatrix()
        Creates new <feConvolveMatrix> element.
        Returns:
        new <feConvolveMatrix> element
      • feDiffuseLighting

        public static DomElement feDiffuseLighting()
        Creates new <feDiffuseLighting> element.
        Returns:
        new <feDiffuseLighting> element
      • feDisplacementMap

        public static DomElement feDisplacementMap()
        Creates new <feDisplacementMap> element.
        Returns:
        new <feDisplacementMap> element
      • feDistantLight

        public static DomElement feDistantLight()
        Creates new <feDistantLight> element.
        Returns:
        new <feDistantLight> element
      • feFlood

        public static DomElement feFlood()
        Creates new <feFlood> element.
        Returns:
        new <feFlood> element
      • feFuncA

        public static DomElement feFuncA()
        Creates new <feFuncA> element.
        Returns:
        new <feFuncA> element
      • feFuncB

        public static DomElement feFuncB()
        Creates new <feFuncB> element.
        Returns:
        new <feFuncB> element
      • feFuncG

        public static DomElement feFuncG()
        Creates new <feFuncG> element.
        Returns:
        new <feFuncG> element
      • feFuncR

        public static DomElement feFuncR()
        Creates new <feFuncR> element.
        Returns:
        new <feFuncR> element
      • feGaussianBlur

        public static DomElement feGaussianBlur()
        Creates new <feGaussianBlur> element.
        Returns:
        new <feGaussianBlur> element
      • feImage

        public static DomElement feImage()
        Creates new <feImage> element.
        Returns:
        new <feImage> element
      • feMerge

        public static DomElement feMerge()
        Creates new <feMerge> element.
        Returns:
        new <feMerge> element
      • feMergeNode

        public static DomElement feMergeNode()
        Creates new <feMergeNode> element.
        Returns:
        new <feMergeNode> element
      • feMorphology

        public static DomElement feMorphology()
        Creates new <feMorphology> element.
        Returns:
        new <feMorphology> element
      • feOffset

        public static DomElement feOffset()
        Creates new <feOffset> element.
        Returns:
        new <feOffset> element
      • fePointLight

        public static DomElement fePointLight()
        Creates new <fePointLight> element.
        Returns:
        new <fePointLight> element
      • feSpecularLighting

        public static DomElement feSpecularLighting()
        Creates new <feSpecularLighting> element.
        Returns:
        new <feSpecularLighting> element
      • feSpotLight

        public static DomElement feSpotLight()
        Creates new <feSpotLight> element.
        Returns:
        new <feSpotLight> element
      • feTile

        public static DomElement feTile()
        Creates new <feTile> element.
        Returns:
        new <feTile> element
      • feTurbulence

        public static DomElement feTurbulence()
        Creates new <feTurbulence> element.
        Returns:
        new <feTurbulence> element
      • filter

        public static DomElement filter()
        Creates new <filter> element.
        Returns:
        new <filter> element
      • font

        public static DomElement font()
        Creates new <font> element.
        Returns:
        new <font> element
      • fontFace

        public static DomElement fontFace()
        Creates new <font-face> element.
        Returns:
        new <font-face> element
      • fontFaceFormat

        public static DomElement fontFaceFormat()
        Creates new <font-face-format> element.
        Returns:
        new <font-face-format> element
      • fontFaceName

        public static DomElement fontFaceName()
        Creates new <font-face-name> element.
        Returns:
        new <font-face-name> element
      • fontFaceSrc

        public static DomElement fontFaceSrc()
        Creates new <font-face-src> element.
        Returns:
        new <font-face-src> element
      • fontFaceUri

        public static DomElement fontFaceUri()
        Creates new <font-face-uri> element.
        Returns:
        new <font-face-uri> element
      • foreignObject

        public static DomElement foreignObject()
        Creates new <foreignObject> element.
        Returns:
        new <foreignObject> element
      • g

        public static DomElement g()
        Creates new <g> element.
        Returns:
        new <g> element
      • glyph

        public static DomElement glyph()
        Creates new <glyph> element.
        Returns:
        new <glyph> element
      • glyphRef

        public static DomElement glyphRef()
        Creates new <glyphRef> element.
        Returns:
        new <glyphRef> element
      • hkern

        public static DomElement hkern()
        Creates new <hkern> element.
        Returns:
        new <hkern> element
      • image

        public static DomElement image()
        Creates new <image> element.
        Returns:
        new <image> element
      • line

        public static DomElement line()
        Creates new <line> element.
        Returns:
        new <line> element
      • linearGradient

        public static DomElement linearGradient()
        Creates new <linearGradient> element.
        Returns:
        new <linearGradient> element
      • marker

        public static DomElement marker()
        Creates new <marker> element.
        Returns:
        new <marker> element
      • mask

        public static DomElement mask()
        Creates new <mask> element.
        Returns:
        new <mask> element
      • metadata

        public static DomElement metadata()
        Creates new <metadata> element.
        Returns:
        new <metadata> element
      • missingGlyph

        public static DomElement missingGlyph()
        Creates new <missing-glyph> element.
        Returns:
        new <missing-glyph> element
      • mpath

        public static DomElement mpath()
        Creates new <mpath> element.
        Returns:
        new <mpath> element
      • path

        public static DomElement path()
        Creates new <path> element.
        Returns:
        new <path> element
      • pattern

        public static DomElement pattern()
        Creates new <pattern> element.
        Returns:
        new <pattern> element
      • polygon

        public static DomElement polygon()
        Creates new <polygon> element.
        Returns:
        new <polygon> element
      • polyline

        public static DomElement polyline()
        Creates new <polyline> element.
        Returns:
        new <polyline> element
      • radialGradient

        public static DomElement radialGradient()
        Creates new <radialGradient> element.
        Returns:
        new <radialGradient> element
      • rect

        public static DomElement rect()
        Creates new <rect> element.
        Returns:
        new <rect> element
      • script

        public static DomElement script()
        Creates new <script> element.
        Returns:
        new <script> element
      • set

        public static DomElement set()
        Creates new <set> element.
        Returns:
        new <set> element
      • stop

        public static DomElement stop()
        Creates new <stop> element.
        Returns:
        new <stop> element
      • style

        public static DomElement style()
        Creates new <style> element.
        Returns:
        new <style> element
      • svg

        public static DomElement svg()
        Creates new <svg> element.
        Returns:
        new <svg> element
      • switched

        public static DomElement switched()
        Creates new <switch> element.
        Returns:
        new <switch> element
      • symbol

        public static DomElement symbol()
        Creates new <symbol> element.
        Returns:
        new <symbol> element
      • text

        public static DomElement text()
        Creates new <text> element.
        Returns:
        new <text> element
      • textPath

        public static DomElement textPath()
        Creates new <textPath> element.
        Returns:
        new <textPath> element
      • title

        public static DomElement title()
        Creates new <title> element.
        Returns:
        new <title> element
      • tref

        public static DomElement tref()
        Creates new <tref> element.
        Returns:
        new <tref> element
      • tspan

        public static DomElement tspan()
        Creates new <tspan> element.
        Returns:
        new <tspan> element
      • use

        public static DomElement use()
        Creates new <use> element.
        Returns:
        new <use> element
      • view

        public static DomElement view()
        Creates new <view> element.
        Returns:
        new <view> element
      • vkern

        public static DomElement vkern()
        Creates new <vkern> element.
        Returns:
        new <vkern> element