Interface IRadialGaugeRenderer
Interface used to customize the RadialGauge.
Namespace: Syncfusion.Windows.Forms.Gauge
Assembly: Syncfusion.Gauge.Windows.dll
Syntax
public interface IRadialGaugeRenderer
Methods
AdjustFontBounds(Graphics, Font)
Used to calculate the text bounds
Declaration
void AdjustFontBounds(Graphics Graphics, Font Font)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.Graphics | Graphics | Graphics |
| System.Drawing.Font | Font | Font used in Radial Gauge |
DrawCircle(Graphics, Point, Int32, Int32, Int32, Single, Color, Color)
Draws a circular arc segment on the radial gauge using the specified layout and styling parameters.
Declaration
void DrawCircle(Graphics graphics, Point m_Center, int gaugeRadius, int startAngle, int sweepAngle, float frameThickness, Color arcColor, Color fillColor)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.Graphics | graphics | The System.Drawing.Graphics object used for rendering. |
| System.Drawing.Point | m_Center | The center point of the gauge. |
| System.Int32 | gaugeRadius | The radius of the gauge arc. |
| System.Int32 | startAngle | The starting angle of the arc in degrees. |
| System.Int32 | sweepAngle | The sweep angle of the arc in degrees. |
| System.Single | frameThickness | The thickness of the arc frame. |
| System.Drawing.Color | arcColor | The color used to draw the arc outline. |
| System.Drawing.Color | fillColor | The color used to fill the arc interior. |
DrawGaugeLabel(Graphics, Point, Int32)
Used to draw the label.
Declaration
void DrawGaugeLabel(Graphics Graphics, Point Center, int GaugeRadius)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.Graphics | Graphics | Graphics |
| System.Drawing.Point | Center | Center point of the Gauge |
| System.Int32 | GaugeRadius | Radius of the OuterArc |
DrawMultipleNeedle(Graphics, Needle, Int32, Int32, Int32, Int32, Point)
Method used to draw customization needle.
Declaration
void DrawMultipleNeedle(Graphics Graphics, Needle Needle, int GaugeArcStart, int GaugeArcEnd, int NeedleRadius, int NeedleWidth, Point Center)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.Graphics | Graphics | Graphics |
| Needle | Needle | Needles used in the Gauge |
| System.Int32 | GaugeArcStart | Start angle of the Outer arc |
| System.Int32 | GaugeArcEnd | Sweep angle of the Outer Arc |
| System.Int32 | NeedleRadius | Length of the Needle |
| System.Int32 | NeedleWidth | Width of the Needle |
| System.Drawing.Point | Center | Center point of the Gauge |
DrawNeedle(Graphics, Int32, Int32, Int32, Int32, Point)
Method used to draw needle
Declaration
void DrawNeedle(Graphics Graphics, int ArcStart, int ArcEnd, int NeedleRadius, int NeedleWidth, Point Center)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.Graphics | Graphics | Graphics |
| System.Int32 | ArcStart | Start angle of the Outer arc |
| System.Int32 | ArcEnd | Sweep angle of the Outer Arc |
| System.Int32 | NeedleRadius | Length of the Needle |
| System.Int32 | NeedleWidth | Width of the Needle |
| System.Drawing.Point | Center | Center point of the Gauge |
DrawOuterArc(Graphics, Int32, Int32, Point, Int32)
Method used to draw outer arc.
Declaration
void DrawOuterArc(Graphics e, int GaugeArcStart, int GaugeArcEnd, Point Center, int Gaugeradius)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.Graphics | e | The System.Drawing.Graphics object used for rendering. |
| System.Int32 | GaugeArcStart | Start angle of the Outer arc |
| System.Int32 | GaugeArcEnd | Sweep angle of the Outer Arc |
| System.Drawing.Point | Center | Center point for Gauge |
| System.Int32 | Gaugeradius | Radius of the Outer Arc |
DrawRanges(Graphics, GraphicsPath, Int32, Int32, Int32, Point)
Used to draw the ranges
Declaration
void DrawRanges(Graphics Graphics, GraphicsPath GraphicsPath, int GaugeArcStart, int GaugeArcEnd, int GaugeArcRadius, Point Center)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.Graphics | Graphics | Graphics |
| System.Drawing.Drawing2D.GraphicsPath | GraphicsPath | Graphics path |
| System.Int32 | GaugeArcStart | Start angle of the Outer arc |
| System.Int32 | GaugeArcEnd | Sweep angle of the Outer Arc |
| System.Int32 | GaugeArcRadius | Radius of the arc |
| System.Drawing.Point | Center | Center of the Gauge |
DrawTickMarks(Graphics, GraphicsPath, Int32, Int32, Int32, Int32, Point, Int32)
Used to draw the tick marks.
Declaration
void DrawTickMarks(Graphics Graphics, GraphicsPath GraphicsPath, int GaugeArcRadius, int GaugeArcStart, int GaugeArcEnd, int MajorTickMarkWidth, Point Center, int ScaleNumbersRadius)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.Graphics | Graphics | Graphics |
| System.Drawing.Drawing2D.GraphicsPath | GraphicsPath | Graphics path |
| System.Int32 | GaugeArcRadius | Start angle of the Outer arc |
| System.Int32 | GaugeArcStart | The starting angle of the gauge arc. |
| System.Int32 | GaugeArcEnd | Sweep angle of the Outer Arc |
| System.Int32 | MajorTickMarkWidth | Width of the TickMark |
| System.Drawing.Point | Center | Center of the Gauge |
| System.Int32 | ScaleNumbersRadius | Radius of the scale value arc |
UpdateRenderer(PaintEventArgs)
Updates the Render
Declaration
void UpdateRenderer(PaintEventArgs PaintEventArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Forms.PaintEventArgs | PaintEventArgs | PaintEventArgs |