ActionComponents  04.05.00
Customizable UI and time-saving tools for Android development with Xamarin and Visual Studio.
UIKit.UIGraphics Class Reference

Simulates a iOS UIGraphics static global class to ease the porting of UI code from iOS to Android. NOTE: Only a small percentage of UIGraphics has been ported to support the Action Components. More...

Static Public Member Functions

static CGContext GetCurrentContext (UIView view)
 Gets the current context. NOTE: Unlike the iOS version, the developer needs to pass a reference to the UIView that is requesting the context. More...
 
static void ReleaseCurrentContext ()
 Releases the current context and frees memory.. More...
 

Properties

static CGContext CurrentContext [get, set]
 Gets or sets the current context. More...
 
static Canvas DrawCanvas = null [get]
 Gets the draw canvas. More...
 

Detailed Description

Simulates a iOS UIGraphics static global class to ease the porting of UI code from iOS to Android. NOTE: Only a small percentage of UIGraphics has been ported to support the Action Components.

Member Function Documentation

static CGContext UIKit.UIGraphics.GetCurrentContext ( UIView  view)
static

Gets the current context. NOTE: Unlike the iOS version, the developer needs to pass a reference to the UIView that is requesting the context.

Returns
The current context.
Parameters
viewView.

Here is the caller graph for this function:

static void UIKit.UIGraphics.ReleaseCurrentContext ( )
static

Releases the current context and frees memory..

Property Documentation

CGContext UIKit.UIGraphics.CurrentContext
staticgetset

Gets or sets the current context.

The current context.

Canvas UIKit.UIGraphics.DrawCanvas = null
staticget

Gets the draw canvas.

The draw canvas.