Edytuj

Udostępnij za pośrednictwem


UIStringDrawing Class

Definition

Extension class for drawing strings to the screen.

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

Methods

DrawString(NSString, CGPoint, nfloat, UIFont, nfloat, nfloat, UILineBreakMode, UIBaselineAdjustment)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

DrawString(NSString, CGPoint, nfloat, UIFont, nfloat, UILineBreakMode, UIBaselineAdjustment)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

DrawString(NSString, CGPoint, nfloat, UIFont, UILineBreakMode)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method..

DrawString(NSString, CGPoint, UIFont)

Developers should not use this deprecated method. Developers should use 'NSString.DrawString (CGPoint, UIStringAttributes)' instead.

DrawString(NSString, CGRect, UIFont, UILineBreakMode, UITextAlignment)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

DrawString(NSString, CGRect, UIFont, UILineBreakMode)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

DrawString(NSString, CGRect, UIFont)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

DrawString(String, CGPoint, nfloat, UIFont, nfloat, nfloat, UILineBreakMode, UIBaselineAdjustment)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

DrawString(String, CGPoint, nfloat, UIFont, nfloat, UILineBreakMode, UIBaselineAdjustment)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method..

DrawString(String, CGPoint, nfloat, UIFont, UILineBreakMode)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

DrawString(String, CGPoint, UIFont)

Developers should use DrawString(NSString, CGPoint, UIStringAttributes) rather than this deprecated method.

DrawString(String, CGRect, UIFont, UILineBreakMode, UITextAlignment)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

DrawString(String, CGRect, UIFont, UILineBreakMode)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

DrawString(String, CGRect, UIFont)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

StringSize(NSString, UIFont, CGSize, UILineBreakMode)

Gets the CGSize necessary to display this NSString.

StringSize(NSString, UIFont, CGSize)

The calculated size of the string if rendered with the font or constrainedToSize, whichever is smaller.

StringSize(NSString, UIFont, nfloat, nfloat, nfloat, UILineBreakMode)

Gets the CGSize necessary to display this NSString.

StringSize(NSString, UIFont, nfloat, UILineBreakMode)

Gets the CGSize necessary to display this NSString.

StringSize(NSString, UIFont)

Developers should use GetSizeUsingAttributes(NSString, UIStringAttributes) rather than this deprecated method.

StringSize(String, UIFont, CGSize, UILineBreakMode)

Gets the CGSize necessary to display this NSString.

StringSize(String, UIFont, CGSize)

The calculated size of the string if rendered with the font or constrainedToSize, whichever is smaller.

StringSize(String, UIFont, nfloat, nfloat, nfloat, UILineBreakMode)

Gets the CGSize necessary to display this NSString.

StringSize(String, UIFont, nfloat, UILineBreakMode)

Gets the CGSize necessary to display this NSString.

StringSize(String, UIFont)

Developers should use GetSizeUsingAttributes(NSString, UIStringAttributes) rather than this deprecated method.

Applies to