Skip to end of metadata
Go to start of metadata

Represent circular geuge view.

Definition

public class CircularGaugeView : View

Summary

The following table summarizes the members exposed in this class.

Public Constructors

CircularGaugeView Constructor(Context) Initializes a new instance of the CircularGaugeView class.
CircularGaugeView Constructor(Context, IAttributeSet) Initializes a new instance of the CircularGaugeView class.

Public Methods

GetTextAscent(Font) Gets the text ascent.
GetTextHeight(Font) Gets the height of the text.
GetTextWidth(string, Font) Gets the width of the text.

Protected Methods

OnDraw(Canvas) Called when [draw].

Public Constructors

public CircularGaugeView(Context context)

Initializes a new instance of the CircularGaugeView class.

Parameters

context The context.

public CircularGaugeView(Context context, IAttributeSet attrs)

Initializes a new instance of the CircularGaugeView class.

Parameters

context The context.
attrs The attrs.

Public Methods

public int GetTextAscent(Font font)

Gets the text ascent.

Parameters

font The font.

public int GetTextHeight(Font font)

Gets the height of the text.

Parameters

font The font.

public int GetTextWidth(string text, Font font)

Gets the width of the text.

Parameters

text The text.
font The font.

Protected Methods

protected void OnDraw(Canvas canvas)

Called when [draw].

Parameters

canvas The canvas.
  • No labels