Class StopElement
StopElement class.
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.SVG.IO
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public 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)
The stop element color.
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 | Stop element |