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

Simulates a iOS UIBezierPath object for ease of porting UI code from iOS to Android. NOTE: Only a small percentage of the UIBezierPath features have been ported to support the Action Components. More...

Public Member Functions

 UIBezierPath ()
 Initializes a new instance of the T:UIKit.UIBezierPath class. More...
 
 UIBezierPath (ShapeDrawable shape)
 Initializes a new instance of the T:UIKit.UIBezierPath class. More...
 
void Fill ()
 Draws a filled version of the path into the current graphics context. More...
 
void Stroke ()
 Draws an outline version of the path into the current graphics context. More...
 
void AddClip ()
 Converts the path into a clipping path. More...
 

Static Public Member Functions

static UIBezierPath FromRect (CGRect rect)
 Creates a new UIBezierPath from the given rect. More...
 
static UIBezierPath FromRoundedRect (CGRect rect, float[] corners, CGSize size)
 Creates a new UIBezierPath from the given round rect. More...
 
static UIBezierPath FromRoundedRect (CGRect rect, nfloat radius)
 Creates a new UIBezierPath from the given round rect. More...
 

Properties

List< ShapeDrawable > Elements [get, set]
 Gets or sets the elements that make up this path. More...
 
nfloat LineWidth = new List<ShapeDrawable>() [get, set]
 Gets or sets the width of the line. More...
 

Detailed Description

Simulates a iOS UIBezierPath object for ease of porting UI code from iOS to Android. NOTE: Only a small percentage of the UIBezierPath features have been ported to support the Action Components.

Constructor & Destructor Documentation

UIKit.UIBezierPath.UIBezierPath ( )

Initializes a new instance of the T:UIKit.UIBezierPath class.

Here is the caller graph for this function:

UIKit.UIBezierPath.UIBezierPath ( ShapeDrawable  shape)

Initializes a new instance of the T:UIKit.UIBezierPath class.

Parameters
shapeShape.

Member Function Documentation

void UIKit.UIBezierPath.AddClip ( )

Converts the path into a clipping path.

Here is the caller graph for this function:

void UIKit.UIBezierPath.Fill ( )

Draws a filled version of the path into the current graphics context.

Here is the caller graph for this function:

static UIBezierPath UIKit.UIBezierPath.FromRect ( CGRect  rect)
static

Creates a new UIBezierPath from the given rect.

Returns
The rect.
Parameters
rectRect.

Here is the call graph for this function:

Here is the caller graph for this function:

static UIBezierPath UIKit.UIBezierPath.FromRoundedRect ( CGRect  rect,
float[]  corners,
CGSize  size 
)
static

Creates a new UIBezierPath from the given round rect.

Returns
The rounded rect.
Parameters
rectRect.
cornersCorners.
sizeSize.

Here is the call graph for this function:

Here is the caller graph for this function:

static UIBezierPath UIKit.UIBezierPath.FromRoundedRect ( CGRect  rect,
nfloat  radius 
)
static

Creates a new UIBezierPath from the given round rect.

Returns
The rounded rect.
Parameters
rectRect.
radiusRadius.

Here is the call graph for this function:

void UIKit.UIBezierPath.Stroke ( )

Draws an outline version of the path into the current graphics context.

Here is the caller graph for this function:

Property Documentation

List<ShapeDrawable> UIKit.UIBezierPath.Elements
getset

Gets or sets the elements that make up this path.

The elements.

nfloat UIKit.UIBezierPath.LineWidth = new List<ShapeDrawable>()
getset

Gets or sets the width of the line.

The width of the line.