Class TickRenderer
Represents the tick renderer
Inheritance
System.Object
TickRenderer
Namespace: Com.Syncfusion.Gauges.SfCircularGauge
Assembly: Syncfusion.SfGauge.Android.dll
Syntax
public class TickRenderer : Object
Constructors
TickRenderer(Context, SfCircularGauge, CircularScale)
Initializes a new instance of the TickRenderer class .
Declaration
public TickRenderer(Context context, SfCircularGauge gauge, CircularScale circularScale)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | to get the context |
SfCircularGauge | gauge | to get gauge |
CircularScale | circularScale | to get circular scale |
Methods
DrawTicks(Canvas, Paint, Double, Double, Double, Double, Double, Double, Double)
To draw the ticks
Declaration
public void DrawTicks(Canvas canvas, Paint paint, double totalTicks, double centreX, double centreY, double offset, double radiusFactor, double internalStartAngle, double internalSweepAngle)
Parameters
Type | Name | Description |
---|---|---|
Android.Graphics.Canvas | canvas | to get the canvas for drawing |
Android.Graphics.Paint | paint | to get the paint |
System.Double | totalTicks | to get the total ticks count |
System.Double | centreX | to get the center x value |
System.Double | centreY | to get the center y value |
System.Double | offset | to get the offset |
System.Double | radiusFactor | to get the radius factor |
System.Double | internalStartAngle | to get the start angle |
System.Double | internalSweepAngle | to get the sweep angle |