iOS Guides | Samples

MonoTouch.UIKit.NSStringDrawing Class

Extension methods for NSString to support easy screen drawing.

See Also: NSStringDrawing

Syntax

public static class NSStringDrawing

See Also

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.NSStringDrawing are listed below.

See Also: Object

Public Methods

static
DrawString(this NSString, PointF, UIStringAttributes)
Draws the string at the specified point and with the specified attributes.
static
DrawString(this NSString, RectangleF, UIStringAttributes)
Draws the string in the specified rect and with the specified attributes.
static
GetSizeUsingAttributes(this NSString, UIStringAttributes) : SizeF
The SizeF of the string, if rendered with the specified attributes.
static
WeakDrawString(this NSString, PointF, NSDictionary)
Draws the string, in a rectangle that is anchored at point, with the specified attributes.
static
WeakDrawString(this NSString, RectangleF, NSDictionary)
Draws the string—in the rectangle rect—with the specified attributes.
static
WeakGetSizeUsingAttributes(this NSString, NSDictionary) : SizeF
Returns the size of the rendered string.