Menu
pushmode.dom

Class Svg

PushMode » API Reference » pushmode.dom



  • 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

      • altGlyph

        public static AltGlyphElement altGlyph()
        Creates new <altGlyph> element. No attributes are set by default.
        Returns:
        New <altGlyph> element.
      • altGlyphDef

        public static AltGlyphDefElement altGlyphDef()
        Creates new <altGlyphDef> element. No attributes are set by default.
        Returns:
        New <altGlyphDef> element.
      • altGlyphItem

        public static AltGlyphItemElement altGlyphItem()
        Creates new <altGlyphItem> element. No attributes are set by default.
        Returns:
        New <altGlyphItem> element.
      • animate

        public static AnimateElement animate()
        Creates new <animate> element. No attributes are set by default.
        Returns:
        New <animate> element.
      • animateColor

        public static AnimateColorElement animateColor()
        Creates new <animateColor> element. No attributes are set by default.
        Returns:
        New <animateColor> element.
      • animateMotion

        public static AnimateMotionElement animateMotion()
        Creates new <animateMotion> element. No attributes are set by default.
        Returns:
        New <animateMotion> element.
      • animateTransform

        public static AnimateTransformElement animateTransform()
        Creates new <animateTransform> element. No attributes are set by default.
        Returns:
        New <animateTransform> element.
      • circle

        public static CircleElement circle()
        Creates new <circle> element. No attributes are set by default.
        Returns:
        New <circle> element.
      • clipPath

        public static ClipPathElement clipPath()
        Creates new <clipPath> element. No attributes are set by default.
        Returns:
        New <clipPath> element.
      • colorprofile

        public static ColorProfileElement colorprofile()
        Creates new <color-profile> element. No attributes are set by default.
        Returns:
        New <color-profile> element.
      • cursor

        public static CursorElement cursor()
        Creates new <cursor> element. No attributes are set by default.
        Returns:
        New <cursor> element.
      • defs

        public static DefsElement defs()
        Creates new <defs> element. No attributes are set by default.
        Returns:
        New <defs> element.
      • desc

        public static DescElement desc()
        Creates new <desc> element. No attributes are set by default.
        Returns:
        New <desc> element.
      • ellipse

        public static EllipseElement ellipse()
        Creates new <ellipse> element. No attributes are set by default.
        Returns:
        New <ellipse> element.
      • feBlend

        public static FEBlendElement feBlend()
        Creates new <feBlend> element. No attributes are set by default.
        Returns:
        New <feBlend> element.
      • feColorMatrix

        public static FEColorMatrixElement feColorMatrix()
        Creates new <feColorMatrix> element. No attributes are set by default.
        Returns:
        New <feColorMatrix> element.
      • feComponentTransfer

        public static FEComponentTransferElement feComponentTransfer()
        Creates new <feComponentTransfer> element. No attributes are set by default.
        Returns:
        New <feComponentTransfer> element.
      • feComposite

        public static FECompositeElement feComposite()
        Creates new <feComposite> element. No attributes are set by default.
        Returns:
        New <feComposite> element.
      • feConvolveMatrix

        public static FEConvolveMatrixElement feConvolveMatrix()
        Creates new <feConvolveMatrix> element. No attributes are set by default.
        Returns:
        New <feConvolveMatrix> element.
      • feDiffuseLighting

        public static FEDiffuseLightingElement feDiffuseLighting()
        Creates new <feDiffuseLighting> element. No attributes are set by default.
        Returns:
        New <feDiffuseLighting> element.
      • feDisplacementMap

        public static FEDisplacementMapElement feDisplacementMap()
        Creates new <feDisplacementMap> element. No attributes are set by default.
        Returns:
        New <feDisplacementMap> element.
      • feDistantLight

        public static FEDistantLightElement feDistantLight()
        Creates new <feDistantLight> element. No attributes are set by default.
        Returns:
        New <feDistantLight> element.
      • feFlood

        public static FEFloodElement feFlood()
        Creates new <feFlood> element. No attributes are set by default.
        Returns:
        New <feFlood> element.
      • feFuncA

        public static FEFuncAElement feFuncA()
        Creates new <feFuncA> element. No attributes are set by default.
        Returns:
        New <feFuncA> element.
      • feFuncB

        public static FEFuncBElement feFuncB()
        Creates new <feFuncB> element. No attributes are set by default.
        Returns:
        New <feFuncB> element.
      • feFuncG

        public static FEFuncGElement feFuncG()
        Creates new <feFuncG> element. No attributes are set by default.
        Returns:
        New <feFuncG> element.
      • feFuncR

        public static FEFuncRElement feFuncR()
        Creates new <feFuncR> element. No attributes are set by default.
        Returns:
        New <feFuncR> element.
      • feGaussianBlur

        public static FEGaussianBlurElement feGaussianBlur()
        Creates new <feGaussianBlur> element. No attributes are set by default.
        Returns:
        New <feGaussianBlur> element.
      • feImage

        public static FEImageElement feImage()
        Creates new <feImage> element. No attributes are set by default.
        Returns:
        New <feImage> element.
      • feMerge

        public static FEMergeElement feMerge()
        Creates new <feMerge> element. No attributes are set by default.
        Returns:
        New <feMerge> element.
      • feMergeNode

        public static FEMergeNodeElement feMergeNode()
        Creates new <feMergeNode> element. No attributes are set by default.
        Returns:
        New <feMergeNode> element.
      • feMorphology

        public static FEMorphologyElement feMorphology()
        Creates new <feMorphology> element. No attributes are set by default.
        Returns:
        New <feMorphology> element.
      • feOffset

        public static FEOffsetElement feOffset()
        Creates new <feOffset> element. No attributes are set by default.
        Returns:
        New <feOffset> element.
      • fePointLight

        public static FEPointLightElement fePointLight()
        Creates new <fePointLight> element. No attributes are set by default.
        Returns:
        New <fePointLight> element.
      • feSpecularLighting

        public static FESpecularLightingElement feSpecularLighting()
        Creates new <feSpecularLighting> element. No attributes are set by default.
        Returns:
        New <feSpecularLighting> element.
      • feSpotLight

        public static FESpotLightElement feSpotLight()
        Creates new <feSpotLight> element. No attributes are set by default.
        Returns:
        New <feSpotLight> element.
      • feTile

        public static FETileElement feTile()
        Creates new <feTile> element. No attributes are set by default.
        Returns:
        New <feTile> element.
      • feTurbulence

        public static FETurbulenceElement feTurbulence()
        Creates new <feTurbulence> element. No attributes are set by default.
        Returns:
        New <feTurbulence> element.
      • filter

        public static FilterElement filter()
        Creates new <filter> element. No attributes are set by default.
        Returns:
        New <filter> element.
      • font

        public static FontElement font()
        Creates new <font> element. No attributes are set by default.
        Returns:
        New <font> element.
      • fontface

        public static FontFaceElement fontface()
        Creates new <font-face> element. No attributes are set by default.
        Returns:
        New <font-face> element.
      • fontfaceformat

        public static FontFaceFormatElement fontfaceformat()
        Creates new <font-face-format> element. No attributes are set by default.
        Returns:
        New <font-face-format> element.
      • fontfacename

        public static FontFaceNameElement fontfacename()
        Creates new <font-face-name> element. No attributes are set by default.
        Returns:
        New <font-face-name> element.
      • fontfacesrc

        public static FontFaceSrcElement fontfacesrc()
        Creates new <font-face-src> element. No attributes are set by default.
        Returns:
        New <font-face-src> element.
      • fontfaceuri

        public static FontFaceUriElement fontfaceuri()
        Creates new <font-face-uri> element. No attributes are set by default.
        Returns:
        New <font-face-uri> element.
      • foreignObject

        public static ForeignObjectElement foreignObject()
        Creates new <foreignObject> element. No attributes are set by default.
        Returns:
        New <foreignObject> element.
      • g

        public static GElement g()
        Creates new <g> element. No attributes are set by default.
        Returns:
        New <g> element.
      • glyph

        public static GlyphElement glyph()
        Creates new <glyph> element. No attributes are set by default.
        Returns:
        New <glyph> element.
      • glyphRef

        public static GlyphRefElement glyphRef()
        Creates new <glyphRef> element. No attributes are set by default.
        Returns:
        New <glyphRef> element.
      • hkern

        public static HKernElement hkern()
        Creates new <hkern> element. No attributes are set by default.
        Returns:
        New <hkern> element.
      • image

        public static ImageElement image()
        Creates new <image> element. No attributes are set by default.
        Returns:
        New <image> element.
      • line

        public static LineElement line()
        Creates new <line> element. No attributes are set by default.
        Returns:
        New <line> element.
      • linearGradient

        public static LinearGradientElement linearGradient()
        Creates new <linearGradient> element. No attributes are set by default.
        Returns:
        New <linearGradient> element.
      • marker

        public static MarkerElement marker()
        Creates new <marker> element. No attributes are set by default.
        Returns:
        New <marker> element.
      • mask

        public static MaskElement mask()
        Creates new <mask> element. No attributes are set by default.
        Returns:
        New <mask> element.
      • metadata

        public static MetadataElement metadata()
        Creates new <metadata> element. No attributes are set by default.
        Returns:
        New <metadata> element.
      • missingglyph

        public static MissingGlyphElement missingglyph()
        Creates new <missing-glyph> element. No attributes are set by default.
        Returns:
        New <missing-glyph> element.
      • mpath

        public static MPathElement mpath()
        Creates new <mpath> element. No attributes are set by default.
        Returns:
        New <mpath> element.
      • path

        public static PathElement path()
        Creates new <path> element. No attributes are set by default.
        Returns:
        New <path> element.
      • pattern

        public static PatternElement pattern()
        Creates new <pattern> element. No attributes are set by default.
        Returns:
        New <pattern> element.
      • polygon

        public static PolygonElement polygon()
        Creates new <polygon> element. No attributes are set by default.
        Returns:
        New <polygon> element.
      • polyline

        public static PolylineElement polyline()
        Creates new <polyline> element. No attributes are set by default.
        Returns:
        New <polyline> element.
      • radialGradient

        public static RadialGradientElement radialGradient()
        Creates new <radialGradient> element. No attributes are set by default.
        Returns:
        New <radialGradient> element.
      • rect

        public static RectElement rect()
        Creates new <rect> element. No attributes are set by default.
        Returns:
        New <rect> element.
      • set

        public static SetElement set()
        Creates new <set> element. No attributes are set by default.
        Returns:
        New <set> element.
      • stop

        public static StopElement stop()
        Creates new <stop> element. No attributes are set by default.
        Returns:
        New <stop> element.
      • svg

        public static SvgDocumentElement svg()
        Creates new <svg> element. No attributes are set by default.
        Returns:
        New <svg> element.
      • switched

        public static SwitchElement switched()
        Creates new <switch> element. No attributes are set by default.
        Returns:
        New <switch> element.
      • symbol

        public static SymbolElement symbol()
        Creates new <symbol> element. No attributes are set by default.
        Returns:
        New <symbol> element.
      • text

        public static TextElement text()
        Creates new <text> element. No attributes are set by default.
        Returns:
        New <text> element.
      • textPath

        public static TextPathElement textPath()
        Creates new <textPath> element. No attributes are set by default.
        Returns:
        New <textPath> element.
      • tref

        public static TRefElement tref()
        Creates new <tref> element. No attributes are set by default.
        Returns:
        New <tref> element.
      • tspan

        public static TSpanElement tspan()
        Creates new <tspan> element. No attributes are set by default.
        Returns:
        New <tspan> element.
      • use

        public static UseElement use()
        Creates new <use> element. No attributes are set by default.
        Returns:
        New <use> element.
      • view

        public static ViewElement view()
        Creates new <view> element. No attributes are set by default.
        Returns:
        New <view> element.
      • vkern

        public static VKernElement vkern()
        Creates new <vkern> element. No attributes are set by default.
        Returns:
        New <vkern> element.