Skip to end of metadata
Go to start of metadata

Represents a gauge view control.

Definition

public class UICircularGaugeView : UIViewBase

Summary

The following table summarizes the members exposed in this class.

Public Constructors

UICircularGaugeView Constructor() Initializes a new instance of the UICircularGaugeView class.
UICircularGaugeView Constructor(IntPtr) Initializes a new instance of the UICircularGaugeView class.
UICircularGaugeView Constructor(NSObjectFlag) Initializes a new instance of the UICircularGaugeView class.
UICircularGaugeView Constructor(CGRect) Initializes a new instance of the UICircularGaugeView class.
UICircularGaugeView Constructor(NSCoder) Initializes a new instance of the UICircularGaugeView class.

Public Methods

Draw(CGRect) Draws the specified rect.
GetTextHeight(Font) Gets the height of the text.
GetTextWidth(string, Font) Gets the width of the text.

Protected Methods

Dispose(bool) Called when this control is disposing.
Initialize() Called when this control is initializing.

Public Constructors

public UICircularGaugeView()

Initializes a new instance of the UICircularGaugeView class.

public UICircularGaugeView(IntPtr handle)

Initializes a new instance of the UICircularGaugeView class.

Parameters

handle Handle.

public UICircularGaugeView(NSObjectFlag t)

Initializes a new instance of the UICircularGaugeView class.

Parameters

t T.

public UICircularGaugeView(CGRect frame)

Initializes a new instance of the UICircularGaugeView class.

Parameters

frame Frame.

public UICircularGaugeView(NSCoder coder)

Initializes a new instance of the UICircularGaugeView class.

Parameters

coder Coder.

Public Methods

public void Draw(CGRect rect)

Draws the specified rect.

Parameters

rect The rect.

public int GetTextHeight(Font font)

Gets the height of the text.

Remarks

Used for internal mechanism.

Parameters

font The font.

Return Types

Height of the text.

public int GetTextWidth(string text, Font font)

Gets the width of the text.

Remarks

Used for internal mechanism.

Parameters

text The text.
font The font.

Return Types

Width of the text.

Protected Methods

protected void Dispose(bool disposing)

Called when this control is disposing.

Parameters

disposing If set to true disposing.

protected void Initialize()

Called when this control is initializing.

  • No labels