Xamarin.Android

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

    Show / Hide Table of Contents

    Class SixteenSegmentHelper

    Represents SixteenSegmentHelper for the Digital Gauge

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

    Constructors

    SixteenSegmentHelper(Context)

    Initializes a new instance of the SixteenSegmentHelper class .

    Declaration
    public SixteenSegmentHelper(Context context)
    Parameters
    Type Name Description
    Android.Content.Context context

    To get the Context.

    SixteenSegmentHelper(Context, IAttributeSet)

    Initializes a new instance of the SixteenSegmentHelper class .

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

    To get the Context.

    Android.Util.IAttributeSet attrs

    To get the Attribute.

    Properties

    GaugeValue

    Gets or sets the GaugeValue.

    Declaration
    public string GaugeValue { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    DrawDigits(String, Single, Single)

    Method used to draw the sixteen segment digits.

    Declaration
    public void DrawDigits(string text, float x, float y)
    Parameters
    Type Name Description
    System.String text

    to get the text

    System.Single x

    to get the x value

    System.Single y

    to get the y value

    DrawText(Char, Single, Single)

    Method used to draw the text

    Declaration
    public float DrawText(char text, float x, float y)
    Parameters
    Type Name Description
    System.Char text

    to get the text

    System.Single x

    to get the x value

    System.Single y

    to get the y value

    Returns
    Type Description
    System.Single

    returns the value

    GetSegmentTextData()

    To get Segment Text data.

    Declaration
    public static byte[][] GetSegmentTextData()
    Returns
    Type Description
    System.Byte[][]

    Return the Text Data value.

    OnDraw(Canvas)

    To draw the Digits.

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

    To get the Canvas.

    SetSegmentTextData(Byte[][])

    Method used to set the segment text data

    Declaration
    public static void SetSegmentTextData(byte[][] segmentTextData)
    Parameters
    Type Name Description
    System.Byte[][] segmentTextData

    to get the segment text data

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