NSStringDrawing NSStringDrawing Class

Definition

Extension methods for NSString to support easy screen drawing.

public static class NSStringDrawing
type NSStringDrawing = class
Inheritance
NSStringDrawingNSStringDrawing

Methods

DrawString(NSString, CGPoint, UIStringAttributes) DrawString(NSString, CGPoint, UIStringAttributes)
DrawString(NSString, CGRect, UIStringAttributes) DrawString(NSString, CGRect, UIStringAttributes)
GetSizeUsingAttributes(NSString, UIStringAttributes) GetSizeUsingAttributes(NSString, UIStringAttributes)

The SizeF of the string, if rendered with the specified attributes.

WeakDrawString(NSString, CGPoint, NSDictionary) WeakDrawString(NSString, CGPoint, NSDictionary)
WeakDrawString(NSString, CGRect, NSDictionary) WeakDrawString(NSString, CGRect, NSDictionary)
WeakGetSizeUsingAttributes(NSString, NSDictionary) WeakGetSizeUsingAttributes(NSString, NSDictionary)

Returns the size of the rendered string.

Applies to

See also