Class ScaleRenderer
Represents the scale renderer
Inheritance
System.Object
ScaleRenderer
Namespace: Com.Syncfusion.Gauges.SfLinearGauge
Assembly: Syncfusion.SfGauge.Android.dll
Syntax
public class ScaleRenderer : View
Constructors
ScaleRenderer(Context, IAttributeSet, SfLinearGauge)
Initializes a new instance of the ScaleRenderer class .
Declaration
public ScaleRenderer(Context context, IAttributeSet attrs, SfLinearGauge gauge)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | to get context |
Android.Util.IAttributeSet | attrs | to get attributes |
SfLinearGauge | gauge | to get gauge |
ScaleRenderer(Context, SfLinearGauge)
Initializes a new instance of the ScaleRenderer class .
Declaration
public ScaleRenderer(Context context, SfLinearGauge gauge)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | to get context |
SfLinearGauge | gauge | to get gauge |
ScaleRenderer(Context, SfLinearGauge, LinearScale)
Initializes a new instance of the ScaleRenderer class.
Declaration
public ScaleRenderer(Context context, SfLinearGauge gauge, LinearScale scale)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | To get the Context. |
SfLinearGauge | gauge | To get the Gauge. |
LinearScale | scale | To get the Scale. |
Methods
OnDraw(Canvas)
override methods
Declaration
protected override void OnDraw(Canvas canvas)
Parameters
Type | Name | Description |
---|---|---|
Android.Graphics.Canvas | canvas | To get the Canvas |