iOS Guides | Samples

UIKit.UIStringDrawing Class

Extension class for drawing strings to the screen.

See Also: UIStringDrawing

Syntax

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

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of UIKit.UIStringDrawing are listed below.

See Also: Object

Public Methods

static
DrawString(this NSString, CGPoint, UIFont) : CGSize
Developers should not use this deprecated method. Developers should use 'NSString.DrawString (CGPoint, UIStringAttributes)' instead.
static
DrawString(this NSString, CGRect, UIFont) : CGSize
Developers should use NSString.DrawString(CGRect,UIStringAttributes) rather than this deprecated method.
static
DrawString(this String, CGPoint, UIFont) : CGSize
Developers should use NSString.DrawString(CGPoint,UIStringAttributes) rather than this deprecated method.
static
DrawString(this String, CGRect, UIFont) : CGSize
Developers should use NSString.DrawString(CGRect,UIStringAttributes) rather than this deprecated method.
static
DrawString(this NSString, CGRect, UIFont, UILineBreakMode) : CGSize
Developers should use NSString.DrawString(CGRect,UIStringAttributes) rather than this deprecated method.
static
DrawString(this String, CGRect, UIFont, UILineBreakMode) : CGSize
Developers should use NSString.DrawString(CGRect,UIStringAttributes) rather than this deprecated method.
static
DrawString(this NSString, CGPoint, nfloat, UIFont, UILineBreakMode) : CGSize
Developers should use NSString.DrawString(CGRect,UIStringAttributes) rather than this deprecated method..
static
DrawString(this NSString, CGRect, UIFont, UILineBreakMode, UITextAlignment) : CGSize
Developers should use NSString.DrawString(CGRect,UIStringAttributes) rather than this deprecated method.
static
DrawString(this String, CGPoint, nfloat, UIFont, UILineBreakMode) : CGSize
Developers should use NSString.DrawString(CGRect,UIStringAttributes) rather than this deprecated method.
static
DrawString(this String, CGRect, UIFont, UILineBreakMode, UITextAlignment) : CGSize
Developers should use NSString.DrawString(CGRect,UIStringAttributes) rather than this deprecated method.
static
DrawString(this NSString, CGPoint, nfloat, UIFont, nfloat, UILineBreakMode, UIBaselineAdjustment) : CGSize
Developers should use NSString.DrawString(CGRect,UIStringAttributes) rather than this deprecated method.
static
DrawString(this String, CGPoint, nfloat, UIFont, nfloat, UILineBreakMode, UIBaselineAdjustment) : CGSize
Developers should use NSString.DrawString(CGRect,UIStringAttributes) rather than this deprecated method..
static
DrawString(this NSString, CGPoint, nfloat, UIFont, nfloat, ref nfloat, UILineBreakMode, UIBaselineAdjustment) : CGSize
Developers should use NSString.DrawString(CGRect,UIStringAttributes) rather than this deprecated method.
static
DrawString(this String, CGPoint, nfloat, UIFont, nfloat, ref nfloat, UILineBreakMode, UIBaselineAdjustment) : CGSize
Developers should use NSString.DrawString(CGRect,UIStringAttributes) rather than this deprecated method.
static
StringSize(this NSString, UIFont) : CGSize
Developers should use NSString.GetSizeUsingAttributes(UIStringAttributes) rather than this deprecated method.
static
StringSize(this String, UIFont) : CGSize
Developers should use NSString.GetSizeUsingAttributes(UIStringAttributes) rather than this deprecated method.
static
StringSize(this NSString, UIFont, CGSize) : CGSize
The calculated size of the string if rendered with the font or constrainedToSize, whichever is smaller.
static
StringSize(this String, UIFont, CGSize) : CGSize
The calculated size of the string if rendered with the font or constrainedToSize, whichever is smaller.
static
StringSize(this NSString, UIFont, CGSize, UILineBreakMode) : CGSize
Gets the CGSize necessary to display this NSString.
static
StringSize(this NSString, UIFont, nfloat, UILineBreakMode) : CGSize
Gets the CGSize necessary to display this NSString.
static
StringSize(this String, UIFont, CGSize, UILineBreakMode) : CGSize
Gets the CGSize necessary to display this NSString.
static
StringSize(this String, UIFont, nfloat, UILineBreakMode) : CGSize
Gets the CGSize necessary to display this NSString.
static
StringSize(this NSString, UIFont, nfloat, ref nfloat, nfloat, UILineBreakMode) : CGSize
Gets the CGSize necessary to display this NSString.
static
StringSize(this String, UIFont, nfloat, ref nfloat, nfloat, UILineBreakMode) : CGSize
Gets the CGSize necessary to display this NSString.