Class Style
Represents the style of SVG DOM.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.Chart.SvgBase
Assembly: Syncfusion.Chart.Base.dll
Syntax
public sealed class Style : IFillAttributes, IStrokeAttributes, ITransformAttribute, IOpacityAttribute
Constructors
Style()
Initializes a new instance of the Style class.
Declaration
public Style()
Style(String)
Initializes a new instance of the Style class.
Declaration
public Style(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value. |
Properties
Attributes
Gets the attributes.
Declaration
public Hashtable Attributes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Hashtable | The attributes. |
Methods
Add(String, Object)
Adds the specified attr.
Declaration
public void Add(string attr, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | attr | The attr. |
System.Object | value | The value. |
ToString()
Returns a System.String that represents the current System.Object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the current System.Object. |
Overrides
Explicit Interface Implementations
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. |
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. |