Class RadialGradientElement
Inherited from SuperElement element of SVG DOM.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Chart.SvgBase
Assembly: Syncfusion.Chart.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 X coordinate of gradient center.
Declaration
public Length CX { get; set; }
Property Value
Type | Description |
---|---|
Length | The X coordinate of center. |
CY
Gets or sets the Y coordinate of gradient center.
Declaration
public Length CY { get; set; }
Property Value
Type | Description |
---|---|
Length | The Y coordinate of center. |
FX
Gets or sets the X coordinate of gradient factor.
Declaration
public Length FX { get; set; }
Property Value
Type | Description |
---|---|
Length | The X coordinate of factor. |
FY
Gets or sets the Y coordinate of gradient factor.
Declaration
public Length FY { get; set; }
Property Value
Type | Description |
---|---|
Length | The Y coordinate of factor. |
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 referense of inherited element.
Declaration
public string HRef { get; set; }
Property Value
Type | Description |
---|---|
System.String | The referense. |
R
Gets or sets the radius of gradient.
Declaration
public Length R { get; set; }
Property Value
Type | Description |
---|---|
Length | The radius of gradient. |
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 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
FromBrush(PathGradientBrush)
Creates the RadialGradientElement by the specified GDI+ brush.
Declaration
public static RadialGradientElement FromBrush(PathGradientBrush brush)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Drawing2D.PathGradientBrush | brush | The brush. |
Returns
Type | Description |
---|---|
RadialGradientElement | Returns RadialGradientElement from PathGradientBrush. |
GetGDIBrush()
Creates the GDI+ brush.
Declaration
[Obsolete]
public Brush GetGDIBrush()
Returns
Type | Description |
---|---|
System.Drawing.Brush | Returns Brush. |