Aspose.Html.Dom.Svg

All classes in Aspose.Html.Dom.Svg namespace are based on w3c SVG2 recommendations. Using this namespace, you can load, navigate or render the SVG file as per your requirements.

Classes

Class Description
SVGAElement The SVGAElement interface corresponds to the ‘a’ element.
SVGAnimateElement The SVGAnimateElement interface corresponds to the ‘animate’ element. Object-oriented access to the attributes of the ‘animate’ element via the SVG DOM is not available.
SVGAnimateMotionElement The SVGAnimateMotionElement interface corresponds to the ‘animateMotion’ element. Object-oriented access to the attributes of the ‘animateMotion’ element via the SVG DOM is not available.
SVGAnimateTransformElement The SVGAnimateTransformElement interface corresponds to the ‘animateTransform’ element. Object-oriented access to the attributes of the ‘animateTransform’ element via the SVG DOM is not available.
SVGAnimationElement The SVGAnimationElement interface is the base interface for all of the animation element interfaces: SVGAnimateElement, SVGSetElement, SVGAnimateColorElement, SVGAnimateMotionElement and SVGAnimateTransformElement.
SVGCircleElement The SVGCircleElement interface corresponds to the ‘circle’ element.
SVGClipPathElement The SVGClipPathElement interface corresponds to the ‘clipPath’ element.
SVGComponentTransferFunctionElement This interface defines a base interface used by the component transfer function interfaces.
SVGCursorElement The SVGCursorElement interface corresponds to the ‘cursor’ element.
SVGDefsElement The SVGDefsElement interface corresponds to the ‘defs’ element.
SVGDescElement The SVGDescElement interface corresponds to the ‘desc’ element.
SVGDocument An SVGDocument is the root of the SVG hierarchy and holds the entire content. Besides providing access to the hierarchy, it also provides some convenience methods for accessing certain sets of information from the document. When an ‘svg’ element is embedded inline as a component of a document from another namespace, such as when an ‘svg’ element is embedded inline within an XHTML document [XHTML], then an SVGDocument object will not exist; instead, the root object in the document object hierarchy will be a Document object of a different type, such as an HTMLDocument object. However, an SVGDocument object will indeed exist when the root element of the XML document hierarchy is an ‘svg’ element, such as when viewing a stand-alone SVG file(i.e., a file with MIME type “image/svg+xml”). In this case, the SVGDocument object will be the root object of the document object model hierarchy.
SVGElement All of the SVG DOM interfaces that correspond directly to elements in the SVG language (such as the SVGPathElement interface for the ‘path’ element) derive from the SVGElement interface.
SVGElementInstance The root object of each use-element shadow tree implements the SVGUseElementShadowRoot interface. This interface does not currently define any extensions to the properties and methods defined for the ShadowRoot interface and DocumentOrShadowRoot mixin. However, the tree rooted at this node is entirely read-only from the perspective of author scripts.
SVGEllipseElement The SVGEllipseElement interface corresponds to the ‘ellipse’ element.
SVGException This exception is raised when a specific SVG operation is impossible to perform.
SVGFilterElement The SVGFilterElement interface corresponds to the ‘filter’ element.
SVGForeignObjectElement The SVGForeignObjectElement interface corresponds to the ‘foreignObject’ element.
SVGGElement The SVGGElement interface corresponds to the ‘g’ element.
SVGGeometryElement Interface SVGGeometryElement represents SVG elements whose rendering is defined by geometry with an equivalent path, and which can be filled and stroked. This includes paths and the basic shapes.
SVGGradientElement The SVGGradientElement interface is a base interface used by SVGLinearGradientElement and SVGRadialGradientElement.
SVGGraphicsElement The SVGGraphicsElement interface represents SVG elements whose primary purpose is to directly render graphics into a group.
SVGImageElement The SVGImageElement interface corresponds to the ‘image’ element.
SVGLinearGradientElement The SVGLinearGradientElement interface corresponds to the ‘linearGradient’ element.
SVGLineElement The SVGLineElement interface corresponds to the ‘line’ element.
SVGMarkerElement The SVGMarkerElement interface corresponds to the ‘marker’ element.
SVGMaskElement The SVGMaskElement interface corresponds to the ‘mask’ element.
SVGMetadataElement The SVGMetadataElement interface corresponds to the ‘metadata’ element.
SVGMPathElement The SVGMPathElement interface corresponds to the ‘mpath’ element.
SVGPathElement The SVGPathElement interface corresponds to the ‘path’ element.
SVGPatternElement The SVGPatternElement interface corresponds to the ‘pattern’ element.
SVGPolygonElement The SVGPolygonElement interface corresponds to the ‘polygon’ element.
SVGPolylineElement The SVGPolylineElement interface corresponds to the ‘polyline’ element.
SVGRadialGradientElement The SVGRadialGradientElement interface corresponds to the ‘radialGradient’ element.
SVGRectElement The SVGRectElement interface corresponds to the ‘rect’ element.
SVGScriptElement The SVGScriptElement interface corresponds to the ‘script’ element.
SVGSetElement The SVGSetElement interface corresponds to the ‘set’ element. Object-oriented access to the attributes of the ‘set’ element via the SVG DOM is not available.
SVGStopElement The SVGStopElement interface corresponds to the ‘stop’ element.
SVGStyleElement The SVGStyleElement interface corresponds to the ‘style’ element.
SVGSVGElement A key interface definition is the SVGSVGElement interface, which is the interface that corresponds to the ‘svg’ element. This interface contains various miscellaneous commonly-used utility methods, such as matrix operations and the ability to control the time of redraw on visual rendering devices.
SVGSwitchElement The SVGSwitchElement interface corresponds to the ‘switch’ element.
SVGSymbolElement The SVGSymbolElement interface corresponds to the ‘symbol’ element.
SVGTextContentElement The SVGTextContentElement is inherited by various text-related interfaces, such as SVGTextElement, SVGTSpanElement, SVGTRefElement, SVGAltGlyphElement and SVGTextPathElement. For the methods on this interface that refer to an index to a character or a number of characters, these references are to be interpreted as an index to a UTF-16 code unit or a number of UTF-16 code units, respectively. This is for consistency with DOM Level 2 Core, where methods on the CharacterData interface use UTF-16 code units as indexes and counts within the character data.Thus for example, if the text content of a ‘text’ element is a single non-BMP character, such as U+10000, then invoking getNumberOfChars on that element will return 2 since there are two UTF-16 code units(the surrogate pair) used to represent that one character.
SVGTextElement The SVGTextElement interface corresponds to the ‘text’ element.
SVGTextPathElement The SVGTextPathElement interface corresponds to the ‘textPath’ element.
SVGTextPositioningElement The SVGTextPositioningElement interface is inherited by text-related interfaces: SVGTextElement, SVGTSpanElement, SVGTRefElement and SVGAltGlyphElement.
SVGTitleElement The SVGTitleElement interface corresponds to the ‘title’ element.
SVGTSpanElement The SVGTSpanElement interface corresponds to the ‘tspan’ element.
SVGUseElement The SVGUseElement interface corresponds to the ‘use’ element.
SVGViewElement The SVGViewElement interface corresponds to the ‘view’ element.

Interfaces

Interface Description
ISVGAnimatedPoints The SVGAnimatedPoints interface supports elements which have a ‘points’ attribute which holds a list of coordinate values and which support the ability to animate that attribute. Additionally, the ‘points’ attribute on the original element accessed via the XML DOM(e.g., using the getAttribute() method call) will reflect any changes made to points.
ISVGFitToViewBox Interface SVGFitToViewBox defines DOM attributes that apply to elements which have XML attributes ‘viewBox’ and ‘preserveAspectRatio’.
ISVGRenderingIntent The SVGRenderingIntent interface defines the enumerated list of possible values for ‘rendering-intent’ attributes or descriptors.
ISVGTests Interface SVGTests defines an interface which applies to all elements which have attributes ‘requiredFeatures’, ‘requiredExtensions’ and ‘systemLanguage’.
ISVGUnitTypes The SVGUnitTypes interface defines a commonly used set of constants and is a base interface used by SVGGradientElement, SVGPatternElement, SVGClipPathElement, SVGMaskElement and SVGFilterElement.
ISVGURIReference Interface SVGURIReference defines an interface which applies to all elements which have the collection of XLink attributes, such as ‘xlink:href’, which define a URI reference.
ISVGZoomAndPan The SVGZoomAndPan interface defines attribute zoomAndPan and associated constants.

Enumeration

Enumeration Description
SVGRenderingIntent The SVGRenderingIntent enumeration defines the enumerated list of possible values for ‘rendering-intent’ attributes or descriptors.
SVGUnitTypes The SVGUnitTypes enumeration defines a commonly used set of constants and is a base interface used by SVGGradientElement, SVGPatternElement, SVGClipPathElement, SVGMaskElement and SVGFilterElement.
SVGZoomAndPan The SVGZoomAndPan enumeration defines attribute zoomAndPan and associated constants.