Class SuperElement
Implements the all SVG interfaces.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Chart.SvgBase
Assembly: Syncfusion.Chart.Base.dll
Syntax
public abstract class SuperElement : Element, IElement, IStrokeAttributes, IFillAttributes, ITransformAttribute, IStyleAttribute, IFontAttributes, IViewBoxAttribute, IOpacityAttribute, IClipingAttribute
Constructors
SuperElement(String)
Initializes a new instance of the SuperElement class.
Declaration
public SuperElement(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of element. |
Properties
Style
Gets or sets the style.
Declaration
public Style Style { get; set; }
Property Value
| Type | Description |
|---|---|
| Style | The style. |
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
DrawSelf(Graphics)
Draws the element to specified System.Drawing.Graphics.
Declaration
protected virtual void DrawSelf(Graphics g)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.Graphics | g | The System.Drawing.Graphics. |
SetXmlAttribute(XmlAttribute)
Sets the XML attribute.
Declaration
public void SetXmlAttribute(XmlAttribute attr)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Xml.XmlAttribute | attr | The attr. |
Explicit Interface Implementations
IClipingAttribute.ClipPath
Gets or sets the identifier of clip path.
Declaration
string IClipingAttribute.ClipPath { get; set; }
Returns
| Type | Description |
|---|---|
| System.String | The clip path. |
IClipingAttribute.ClipRule
Gets or sets the clip rule.
Declaration
EClipRule IClipingAttribute.ClipRule { get; set; }
Returns
| Type | Description |
|---|---|
| EClipRule | The clip rule. |
IFillAttributes.Fill
Gets or sets the color to fill the background.
Declaration
NoneColor IFillAttributes.Fill { get; set; }
Returns
| Type | Description |
|---|---|
| NoneColor | The fill. |
IFillAttributes.FillOpacity
Gets or sets the fill opacity.
Declaration
Opacity IFillAttributes.FillOpacity { get; set; }
Returns
| Type | Description |
|---|---|
| Opacity | The fill opacity. |
IFontAttributes.Font
Gets or sets the font.
Declaration
SFont IFontAttributes.Font { get; set; }
Returns
| Type | Description |
|---|---|
| SFont | The font. |
IFontAttributes.FontFamily
Gets or sets the font family.
Declaration
string IFontAttributes.FontFamily { get; set; }
Returns
| Type | Description |
|---|---|
| System.String | The font family. |
IFontAttributes.FontSize
Gets or sets the size of the font.
Declaration
Length IFontAttributes.FontSize { get; set; }
Returns
| Type | Description |
|---|---|
| Length | The size of the font. |
IFontAttributes.FontSizeAdjust
Gets or sets the font size adjust.
Declaration
Number IFontAttributes.FontSizeAdjust { get; set; }
Returns
| Type | Description |
|---|---|
| Number | The font size adjust. |
IFontAttributes.FontStretch
Gets or sets the font stretch.
Declaration
EFontStretch IFontAttributes.FontStretch { get; set; }
Returns
| Type | Description |
|---|---|
| EFontStretch | The font stretch. |
IFontAttributes.FontStyle
Gets or sets the font style.
Declaration
EFontStyle IFontAttributes.FontStyle { get; set; }
Returns
| Type | Description |
|---|---|
| EFontStyle | The font style. |
IFontAttributes.FontVariant
Gets or sets the font variant.
Declaration
EFontVariant IFontAttributes.FontVariant { get; set; }
Returns
| Type | Description |
|---|---|
| EFontVariant | The font variant. |
IFontAttributes.FontWeight
Gets or sets the font weight.
Declaration
EFontWeight IFontAttributes.FontWeight { get; set; }
Returns
| Type | Description |
|---|---|
| EFontWeight | The font weight. |
IOpacityAttribute.Opacity
Gets or sets the opacity.
Declaration
Opacity IOpacityAttribute.Opacity { get; set; }
Returns
| Type | Description |
|---|---|
| Opacity | The opacity. |
IStrokeAttributes.Stroke
Gets or sets the stroke.
Declaration
NoneColor IStrokeAttributes.Stroke { get; set; }
Returns
| Type | Description |
|---|---|
| NoneColor | The stroke. |
IStrokeAttributes.StrokeDasharray
Gets or sets the stroke dash array.
Declaration
FloatArray IStrokeAttributes.StrokeDasharray { get; set; }
Returns
| Type | Description |
|---|---|
| FloatArray | The stroke dash array. |
IStrokeAttributes.StrokeDashoffset
Gets or sets the stroke dash offset.
Declaration
Length IStrokeAttributes.StrokeDashoffset { get; set; }
Returns
| Type | Description |
|---|---|
| Length | The stroke dash offset. |
IStrokeAttributes.StrokeLinecap
Gets or sets the stroke line caps.
Declaration
EStrokeLinecap IStrokeAttributes.StrokeLinecap { get; set; }
Returns
| Type | Description |
|---|---|
| EStrokeLinecap | The stroke line caps. |
IStrokeAttributes.StrokeLinejoin
Gets or sets the stroke line join.
Declaration
EStrokeLinejoin IStrokeAttributes.StrokeLinejoin { get; set; }
Returns
| Type | Description |
|---|---|
| EStrokeLinejoin | The stroke line join. |
IStrokeAttributes.StrokeMiterlimit
Gets or sets the stroke miter limit.
Declaration
Number IStrokeAttributes.StrokeMiterlimit { get; set; }
Returns
| Type | Description |
|---|---|
| Number | The stroke miter limit. |
IStrokeAttributes.StrokeOpacity
Gets or sets the stroke opacity.
Declaration
Opacity IStrokeAttributes.StrokeOpacity { get; set; }
Returns
| Type | Description |
|---|---|
| Opacity | The stroke opacity. |
IStrokeAttributes.StrokeWidth
Gets or sets the width of the stroke.
Declaration
Length IStrokeAttributes.StrokeWidth { get; set; }
Returns
| Type | Description |
|---|---|
| Length | The width of the stroke. |
ITransformAttribute.Transform
Gets or sets the transform.
Declaration
TransformList ITransformAttribute.Transform { get; set; }
Returns
| Type | Description |
|---|---|
| TransformList | The transform. |
IViewBoxAttribute.ViewBox
Gets or sets the view box.
Declaration
LengthRect IViewBoxAttribute.ViewBox { get; set; }
Returns
| Type | Description |
|---|---|
| LengthRect | The view box. |