Namespace Svg
The Svg namespace contains the main classes and interfaces implementing the SVG specifications. The classes are based on the W3C SVG interfaces, but not strictly implementing the W3C SVG interfaces.
Classes
- AttributeEventArgs
Describes the Attribute which was set
- ChildAddedEventArgs
Describes the Attribute which was set
- ContentEventArgs
Describes the Content of this which was set
- MouseArg
Represents the state of the mouse at the moment the event occurred.
- StringArg
Represents a string argument
- SvgAspectRatio
Description of SvgAspectRatio.
- SvgAttributeAttribute
Specifies the SVG attribute name of the associated property.
- SvgAttributeCollection
A collection of Scalable Vector Attributes that can be inherited from the owner elements ancestors.
- SvgCircle
An SVG element to render circles to the document.
- SvgClipPath
Defines a path that can be used by other ISvgClipable elements.
- SvgColourConverter
Converts string representations of colours into Color objects.
- SvgCustomAttributeCollection
A collection of Custom Attributes
- SvgDeferredPaintServer
A wrapper for a paint server which isn't defined currently in the parse process, but should be defined by the time the image needs to render.
- SvgDefinitionList
Represents a list of re-usable SVG components.
- SvgDocument
The class used to create and load SVG documents.
- SvgDocumentMetadata
Represents a list of re-usable SVG components.
- SvgElement
The base class of which all SVG elements are derived from.
- SvgElementAttribute
Specifies the SVG name of an SvgElement.
- SvgElementCollection
Represents a collection of SvgElements.
- SvgElementIdManager
Provides methods to ensure element ID's are valid and unique.
- SvgEllipse
Represents and SVG ellipse element.
- SvgExtentions
Svg helpers
- SvgFallbackPaintServer
A wrapper for a paint server has a fallback if the primary server doesn't work.
- SvgFontManager
Manages access to SystemFonts and any privately loaded fonts. When a font is requested in the render process, if the font is not found as an embedded SvgFont, the render process will SvgFontManager.FindFont method.
- SvgForeignObject
The 'foreignObject' element allows for inclusion of a foreign namespace which has its graphical content drawn by a different user agent
- SvgFragment
An SvgFragment represents an SVG fragment that can be the root element or an embedded fragment of an SVG document.
- SvgGradientServer
Provides the base class for all paint servers that wish to render a gradient.
- SvgGradientStop
Represents a colour stop in a gradient.
- SvgGroup
An element used to group SVG shapes.
- SvgImage
Represents and SVG image
- SvgLine
Represents an SVG line element.
- SvgMarkerElement
Represents a path based element that can have markers.
- SvgMask
Defines an alpha mask for compositing the current object into the background.
- SvgNumberCollection
Represents a list of float.
- SvgNumberCollectionConverter
A class to convert string into SvgNumberCollection instances.
- SvgOrient
Represents an orientation in a Scalable Vector Graphics document.
- SvgPaintServer
Represents the base class for all paint servers that are intended to be used as a fill or stroke.
- SvgPath
Represents an SVG path element.
- SvgPathBasedElement
Represents an element that is using a GraphicsPath as rendering base.
- SvgPatternServer
A pattern is used to fill or stroke an object using a pre-defined graphic object which can be replicated ("tiled") at fixed intervals in x and y to cover the areas to be painted.
- SvgPointCollection
Represents a list of SvgUnit used with the SvgPolyline and SvgPolygon.
- SvgPolygon
SvgPolygon defines a closed shape consisting of a set of connected straight line segments.
- SvgPolyline
SvgPolyline defines a set of connected straight line segments. Typically, SvgPolyline defines open shapes.
- SvgRectangle
Represents an SVG rectangle that could also have rounded edges.
- SvgRenderer
Convenience wrapper around a graphics object
- SvgScript
An element used to define scripts within SVG documents. Use the Script property to get the script content (proxies the content)
- SvgSwitch
The 'switch' element evaluates the 'requiredFeatures', 'requiredExtensions' and 'systemLanguage' attributes on its direct child elements in order, and then processes and renders the first child for which these attributes evaluate to true
- SvgSymbol
An element used to group SVG shapes.
- SvgTextPath
The SvgText element defines a graphics element consisting of text.
- SvgUnitCollection
Represents a list of SvgUnit.
- SvgUnitCollectionConverter
A class to convert string into SvgUnitCollection instances.
- SvgVisualElement
The class that all SVG elements should derive from when they are to be rendered.
Structs
- SvgUnit
Represents a unit in an Scalable Vector Graphics document.
- SvgViewBox
It is often desirable to specify that a given set of graphics stretch to fit a particular container element. The viewBox attribute provides this capability.
Interfaces
- ISvgClipable
Defines the methods and properties that an SvgElement must implement to support clipping.
- ISvgDescriptiveElement
This interface mostly indicates that a node is not to be drawn when rendering the SVG.
- ISvgStylable
Defines the methods and properties required for an SVG element to be styled.
- ISvgTransformable
Represents and element that may be transformed.
- ISvgViewPort
Provides properties and methods to be implemented by view port elements.
Enums
- SvgClipRule
Indicates the algorithm which is to be used to determine the clipping region.
- SvgCoordinateUnits
Defines the various coordinate units certain SVG elements may use.
- SvgFontStretch
The desired amount of condensing or expansion in the glyphs used to render the text.
- SvgFontStyle
This is the descriptor for the style of a font and takes the same values as the 'font-style' property, except that a comma-separated list is permitted.
- SvgFontWeight
The weight of a face relative to others in the same font family.
- SvgGradientSpreadMethod
Indicates what happens if the gradient starts or ends inside the bounds of the target rectangle.
- SvgImageRendering
The image-rendering attribute provides a hint to the browser about how to make speed vs. quality tradeoffs as it performs image processing.
- SvgOverflow
The ‘overflow’ property applies to elements that establish new viewports (e.g., ‘svg’ elements), ‘pattern’ elements and ‘marker’ elements. For all other elements, the property has no effect (i.e., a clipping rectangle is not created).
- SvgShapeRendering
The creator of SVG content might want to provide a hint about what tradeoffs to make as the browser renders 'path' element or basic shapes. The shape-rendering attribute provides these hints.
- SvgStrokeLineCap
Specifies the shape to be used at the end of open subpaths when they are stroked.
- SvgStrokeLineJoin
Specifies the shape to be used at the corners of paths or basic shapes when they are stroked.
- SvgTextAnchor
Text anchor is used to align (start-, middle- or end-alignment) a string of text relative to a given point.
- SvgTextDecoration
This property describes decorations that are added to the text of an element. Conforming SVG Viewers are not required to support the blink value.
- SvgTextLengthAdjust
Indicates the type of adjustments which the user agent shall make to make the rendered length of the text match the value specified on the ‘textLength’ attribute.
- SvgTextPathMethod
Indicates the method by which text should be rendered along the path.
- SvgTextPathSpacing
Indicates how the user agent should determine the spacing between glyphs that are to be rendered along a path.
- SvgTextRendering
The creator of SVG content might want to provide a hint about what tradeoffs to make as the browser renders text. The text-rendering attribute provides these hints.
- SvgTextTransformation
This property describes transformations that are added to the text of an element.
- SvgUnitType
Defines the various types of unit an SvgUnit can be.