Class LabelViewRenderer
Represents the LabelRenderer.
Inheritance
System.Object
LabelViewRenderer
Namespace: Com.Syncfusion.Gauges.SfCircularGauge
Assembly: Syncfusion.SfGauge.Android.dll
Syntax
public class LabelViewRenderer : Object
Constructors
LabelViewRenderer(Context, SfCircularGauge, CircularScale)
Initializes a new instance of the LabelViewRenderer class.
Declaration
public LabelViewRenderer(Context context, SfCircularGauge gauge, CircularScale circularScale)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | Gets the Context. |
SfCircularGauge | gauge | Gets the Gauge. |
CircularScale | circularScale | Gets the CircularScale. |
Methods
LabelText(Canvas, Paint, Double, Double, Double, Double, Double, Double, Double, Double)
To draw text of the label.
Declaration
public void LabelText(Canvas canvas, Paint paint, double totalTicks, double availableWidth, double availableHeight, double centerX, double centerY, double offset, double internalStartAngle, double internalSweepAngle)
Parameters
Type | Name | Description |
---|---|---|
Android.Graphics.Canvas | canvas | Gets the Canvas. |
Android.Graphics.Paint | paint | Gets the Paint. |
System.Double | totalTicks | Gets the TotalTicks. |
System.Double | availableWidth | Gets the AvailableWidth. |
System.Double | availableHeight | Gets the AvailableHeight. |
System.Double | centerX | Gets the centerX. |
System.Double | centerY | Gets the centerY. |
System.Double | offset | Gets the Offset. |
System.Double | internalStartAngle | Gets the InternalStartAngle. |
System.Double | internalSweepAngle | Gets the InternalSweepAngle. |