iOS Guides | Samples

MonoTouch.UIKit.UIStringDrawing Class

Extension class for drawing strings to the screen.

See Also: UIStringDrawing

Syntax

[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.TvOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public static class UIStringDrawing

Requirements

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

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

See Also: Object

Public Methods

static
DrawString(this NSString, PointF, UIFont) : SizeF
Draws the string at the specified point, using the font.
static
DrawString(this NSString, RectangleF, UIFont) : SizeF
Draws the string in the rect, using the font.
static
DrawString(this String, PointF, UIFont) : SizeF
Draws the string at the specified point, using the font.
static
DrawString(this String, RectangleF, UIFont) : SizeF
Draws the string in the specified rect, using the font.
static
DrawString(this NSString, RectangleF, UIFont, UILineBreakMode) : SizeF
Draws the string in the specified rect, using the font, with the specified line-breaking mode.
static
DrawString(this String, RectangleF, UIFont, UILineBreakMode) : SizeF
Draws the string in the specified rect, using the font, with the specified line-breaking mode.
static
DrawString(this NSString, PointF, Single, UIFont, UILineBreakMode) : SizeF
Draws the string, starting at the specified point and extending width, using the font, with the specified line-breaking breakMode.
static
DrawString(this NSString, RectangleF, UIFont, UILineBreakMode, UITextAlignment) : SizeF
Draws the string in the specified rect, using the font, with the specified alignment and line-breaking mode.
static
DrawString(this String, PointF, Single, UIFont, UILineBreakMode) : SizeF
Draws the string, starting at the specified point and extending width, using the font, with the specified line-breaking breakMode.
static
DrawString(this String, RectangleF, UIFont, UILineBreakMode, UITextAlignment) : SizeF
Draws the string in the specified rect, using the font, with the specified alignment and line-breaking mode.
static
DrawString(this NSString, PointF, Single, UIFont, Single, UILineBreakMode, UIBaselineAdjustment) : SizeF
static
DrawString(this String, PointF, Single, UIFont, Single, UILineBreakMode, UIBaselineAdjustment) : SizeF
Draws the string, starting at the specified point with a baseline adjustment and extending width, using the font, with the specified line-breaking mode.
static
DrawString(this NSString, PointF, Single, UIFont, Single, ref Single, UILineBreakMode, UIBaselineAdjustment) : SizeF
Draws the string, starting at the specified point with a baseline adjustment and extending width, using the font in the size range specified, with the specified line-breaking mode.
static
DrawString(this String, PointF, Single, UIFont, Single, ref Single, UILineBreakMode, UIBaselineAdjustment) : SizeF
Draws the string, starting at the specified point with a baseline adjustment and extending width, using the font in the size range (outputting actualFontSize), with the specified line-breaking mode.
static
StringSize(this NSString, UIFont) : SizeF
The calculated size of the string if rendered with the font.
static
StringSize(this String, UIFont) : SizeF
The calculated size of the string if rendered with the font.
static
StringSize(this NSString, UIFont, SizeF) : SizeF
The calculated size of the string if rendered with the font or constrainedToSize, whichever is smaller.
static
StringSize(this String, UIFont, SizeF) : SizeF
The calculated size of the string if rendered with the font or constrainedToSize, whichever is smaller.
static
StringSize(this NSString, UIFont, SizeF, UILineBreakMode) : SizeF
The smaller of constrainedToSize or the size of the string rendered in font with lineBreakMode.
static
StringSize(this NSString, UIFont, Single, UILineBreakMode) : SizeF
The size of the string rendered in font, if constrained to forWidth and with breakMode.
static
StringSize(this String, UIFont, SizeF, UILineBreakMode) : SizeF
The smaller of constrainedToSize or the calculated size of the string rendered in font with lineBreakMode.
static
StringSize(this String, UIFont, Single, UILineBreakMode) : SizeF
The size of the string rendered with font and breakMode, for the width forWidth.
static
StringSize(this NSString, UIFont, Single, ref Single, Single, UILineBreakMode) : SizeF
The calculated size of the string rendered with the font in the specified size range, with lineBreakMode and for width forWidth.
static
StringSize(this String, UIFont, Single, ref Single, Single, UILineBreakMode) : SizeF
The calculated size of the string rendered with the font in the specified size range (outputting actualFontSize), with lineBreakMode and for width forWidth.