Upravit

Sdílet prostřednictvím


NSStringDrawing Class

Definition

Extension methods for NSString to support easy screen drawing.

public static class NSStringDrawing
type NSStringDrawing = class
Inheritance
NSStringDrawing

Methods

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

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

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

Returns the size of the rendered string.

Applies to

See also