Class StopElement
Implemenets the "stop" 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 StopElement : SuperElement, IElement, IStrokeAttributes, IFillAttributes, ITransformAttribute, IStyleAttribute, IFontAttributes, IViewBoxAttribute, IOpacityAttribute, IClipingAttribute
Constructors
StopElement()
Initializes a new instance of the StopElement class.
Declaration
public StopElement()
Properties
Offset
Gets or sets the offset.
Declaration
public Length Offset { get; set; }
Property Value
Type | Description |
---|---|
Length | The offset. |
StopColor
Gets or sets the color of the stop.
Declaration
public NoneColor StopColor { get; set; }
Property Value
Type | Description |
---|---|
NoneColor | The color of the stop. |
StopOpacity
Gets or sets the stop opacity.
Declaration
public Opacity StopOpacity { get; set; }
Property Value
Type | Description |
---|---|
Opacity | The stop opacity. |
Methods
FromColor(Color, Length)
Creates the stop element by the specified color and offset.
Declaration
public static StopElement FromColor(Color color, Length offset)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Color | color | The color. |
Length | offset | The offset. |
Returns
Type | Description |
---|---|
StopElement | Returns StopElement. |