menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IRadialGaugeRenderer - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    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)

    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
    System.Drawing.Point m_Center
    System.Int32 gaugeRadius
    System.Int32 startAngle
    System.Int32 sweepAngle
    System.Single frameThickness
    System.Drawing.Color arcColor
    System.Drawing.Color fillColor

    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
    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
    System.Int32 ArcEnd
    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
    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
    System.Int32 GaugeArcEnd
    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

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved