Class SvgElement
Implements the "svg" element of SVG DOM.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Chart.SvgBase
Assembly: Syncfusion.Chart.Base.dll
Syntax
public sealed class SvgElement : SuperElement, IElement, IStrokeAttributes, IFillAttributes, ITransformAttribute, IStyleAttribute, IFontAttributes, IViewBoxAttribute, IOpacityAttribute, IClipingAttribute
Constructors
SvgElement()
Initializes a new instance of the SvgElement class.
Declaration
public SvgElement()
Properties
Height
Gets or sets the height.
Declaration
public Length Height { get; set; }
Property Value
Type | Description |
---|---|
Length | The height. |
Width
Gets or sets the width.
Declaration
public Length Width { get; set; }
Property Value
Type | Description |
---|---|
Length | The width. |
X
Gets or sets the X.
Declaration
public Length X { get; set; }
Property Value
Type | Description |
---|---|
Length | The X. |
Y
Gets or sets the Y.
Declaration
public Length Y { get; set; }
Property Value
Type | Description |
---|---|
Length | The Y. |
Methods
Draw(Graphics)
Draws the element and the inner elements to the specified System.Drawing.Graphics.
Declaration
public override void Draw(Graphics g)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The System.Drawing.Graphics. |
Overrides
WriteXmlAttributes(XmlWriter)
Writes the attributes to XML document.
Declaration
protected override void WriteXmlAttributes(XmlWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlWriter | writer | The System.Xml.XmlWriter. |