menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PointerRender - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PointerRender

    Represents the pointer renderer of linear gauge

    Inheritance
    System.Object
    PointerRender
    Namespace: Com.Syncfusion.Gauges.SfLinearGauge
    Assembly: Syncfusion.SfGauge.Android.dll
    Syntax
    public class PointerRender : View

    Constructors

    PointerRender(Context, IAttributeSet)

    Initializes a new instance of the PointerRender class.

    Declaration
    public PointerRender(Context context, IAttributeSet attrs)
    Parameters
    Type Name Description
    Android.Content.Context context

    to get context

    Android.Util.IAttributeSet attrs

    to get attributes

    PointerRender(Context, SfLinearGauge, LinearScale, LinearPointer)

    Initializes a new instance of the PointerRender class.

    Declaration
    public PointerRender(Context context, SfLinearGauge gauge, LinearScale scale, LinearPointer pointer)
    Parameters
    Type Name Description
    Android.Content.Context context

    to get context

    SfLinearGauge gauge

    to get gauge

    LinearScale scale

    to get scale

    LinearPointer pointer

    to get pointer

    PointerRender(IntPtr, JniHandleOwnership)

    Initializes a new instance of the PointerRender class .

    Declaration
    protected PointerRender(IntPtr javaReference, JniHandleOwnership transfer)
    Parameters
    Type Name Description
    System.IntPtr javaReference

    to get the javaReference

    Android.Runtime.JniHandleOwnership transfer

    to get the transfer

    Methods

    OnDraw(Canvas)

    To draw the pointer

    Declaration
    protected override void OnDraw(Canvas canvas)
    Parameters
    Type Name Description
    Android.Graphics.Canvas canvas

    to get canvas

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