Class RadialGradientElement
RadialGradientElement 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 RadialGradientElement : SuperElement, IElement, IStrokeAttributes, IFillAttributes, ITransformAttribute, IStyleAttribute, IFontAttributes, IViewBoxAttribute, IOpacityAttribute, IClipingAttribute
Constructors
RadialGradientElement()
Initializes a new instance of the RadialGradientElement class.
Declaration
public RadialGradientElement()
Properties
CX
Gets or sets the length.
Declaration
public Length CX { get; set; }
Property Value
Type | Description |
---|---|
Length | The length. |
CY
Gets or sets the length.
Declaration
public Length CY { get; set; }
Property Value
Type | Description |
---|---|
Length | The length. |
FX
Gets or sets the length.
Declaration
public Length FX { get; set; }
Property Value
Type | Description |
---|---|
Length | The length. |
FY
Gets or sets the length.
Declaration
public Length FY { get; set; }
Property Value
Type | Description |
---|---|
Length | The length. |
GradientTransform
Gets or sets the gradient transform.
Declaration
public TransformList GradientTransform { get; set; }
Property Value
Type | Description |
---|---|
TransformList | The gradient transform. |
GradientUnits
Gets or sets the gradient units.
Declaration
public EUnits GradientUnits { get; set; }
Property Value
Type | Description |
---|---|
EUnits | The gradient units. |
HRef
Gets or sets the H ref.
Declaration
public string HRef { get; set; }
Property Value
Type | Description |
---|---|
System.String | The H ref. |
R
Gets or sets the length.
Declaration
public Length R { get; set; }
Property Value
Type | Description |
---|---|
Length | The length. |
SpreadMethod
Gets or sets the spread method.
Declaration
public SpreadMethod SpreadMethod { get; set; }
Property Value
Type | Description |
---|---|
SpreadMethod | The spread method. |
Methods
Draw(Graphics)
Draws the specified graphics.
Declaration
public override void Draw(Graphics g)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The graphics. |
Overrides
FromBrush(PathGradientBrush)
Froms the brush.
Declaration
public static RadialGradientElement FromBrush(PathGradientBrush brush)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Drawing2D.PathGradientBrush | brush | The brush. |
Returns
Type | Description |
---|---|
RadialGradientElement | Radial gradient element. |
GetGDIBrush()
Gets the GDI brush.
Declaration
public Brush GetGDIBrush()
Returns
Type | Description |
---|---|
System.Drawing.Brush | The brush |