The base class of which all SVG elements are derived from.
public abstract class SvgElement : ISvgElement, ISvgTransformable, ICloneable, ISvgNode
kind:method, kind:property, kind:ctor. Press Esc to clear.SvgElement()Initializes a new instance of the SvgElement class.AttributesGets a collection of element attributes.BaselineShiftSpecifies dominant-baseline positioning of text.ChildrenGets a collection of all child SvgElement objects.ColorGets or sets the color SvgPaintServer of this element which drives the currentColor property.ColorInterpolationGets or sets the color space for gradient interpolations, color animations and alpha compositing.ColorInterpolationFiltersGets or sets the color space for imaging operations performed via filter effects. NOT currently mapped through to bitmapCustomAttributesGets a collection of custom attributesDisplayGets or sets a value to determine whether the element will be rendered. Needed to support SVG attribute display="none"ElementNameGets the name of the element.ElementNamespaceGets the elements namespace as a string.EventsGets an EventHandlerList of all events belonging to the element.FillGets or sets the fill SvgPaintServer of this element.FillOpacityGets or sets the opacity of this element's Fill.FontSet all font information.FontFamilyIndicates which font family is to be used to render the text.FontSizeRefers to the size of the font from baseline to baseline when multiple lines of text are set solid in a multiline layout environment.FontStretchIndicates the desired amount of condensing or expansion in the glyphs used to render the text.FontStyleRefers to the style of the font.FontVariantRefers to the varient of the font.FontWeightRefers to the boldness of the font.IDGets or sets the ID of the element.IsPathDirtyGets or sets a value indicating whether this element's 'Path' is dirty.NamespacesGets the namespaces that element has.OpacityGets or sets the opacity of the element. 1.0 is fully opaque; 0.0 is transparent.OwnerDocumentGets the owner SvgDocument.ParentGets the parent SvgElement.ShapeRenderingRefers to the AnitAlias rendering of shapes.SpaceHandlingGets or sets the space handling.StrokeGets or sets the SvgPaintServer to be used when rendering a stroke around this element.StrokeOpacityGets or sets the opacity of the stroke, if the Stroke property has been specified. 1.0 is fully opaque; 0.0 is transparent.StrokeWidthGets or sets the width of the stroke (if the Stroke property has a valid value specified.TextAnchorGets or sets the text anchor.TextDecorationRefers to the boldness of the font.TextTransformationRefers to the text transformation.TransformsGets or sets the element transforms.VisibilityGets or sets a value to determine whether the element will be rendered.AddElement(SvgElement, Int32)Called by the underlying SvgElement when an element has been added to the Children collection.AddStyle(String, String, Int32)Add style.Clone()Creates a new object that is a copy of the current instance.FlushStyles(Boolean)Flush styles.HasChildren()Gets a value to determine whether the element has children.InvalidateChildPaths()Force recreation of the paths for the element and it's children.RegisterEvents(ISvgEventCaller)Use this method to provide your implementation ISvgEventCaller which can register Actions and call them if one of the events occurs. Make sure, that your SvgElement has a unique ID. The SvgTextElement overwrites this and registers the Change event tor its text content.RemoveElement(SvgElement)Called by the underlying SvgElement when an element has been removed from the Children collection.ShouldWriteElement()Derived classes may decide that the element should not be written. For example, the text element shouldn't be written if it's empty.UnregisterEvents(ISvgEventCaller)Use this method to provide your implementation ISvgEventCaller to unregister ActionsWrite(XmlWriter)Write this SvgElement out using a given XmlWriter.AttributeChangedFired when an Attribute of this Element has changedChildAddedFired when an Element was added to the children of this ElementContentChangedFired when an Attribute of this Element has changedLoadOccurs when the element is loaded.