Package org.robovm.apple.uikit
Class NSStringExtensions
java.lang.Object
org.robovm.objc.ObjCExtensions
org.robovm.apple.foundation.NSExtensions
org.robovm.apple.uikit.NSStringExtensions
public final class NSStringExtensions extends NSExtensions
-
Method Summary
Modifier and Type Method Description static CGSizedraw(long thiz, CGPoint point, double width, UIFont font, double fontSize, NSLineBreakMode lineBreakMode, UIBaselineAdjustment baselineAdjustment)Deprecated.Deprecated in iOS 7.0.static CGSizedraw(long thiz, CGPoint point, double width, UIFont font, double minFontSize, MachineSizedFloatPtr actualFontSize, NSLineBreakMode lineBreakMode, UIBaselineAdjustment baselineAdjustment)Deprecated.Deprecated in iOS 7.0.static CGSizedraw(long thiz, CGPoint point, double width, UIFont font, NSLineBreakMode lineBreakMode)Deprecated.Deprecated in iOS 7.0.static voiddraw(long thiz, CGPoint point, NSDictionary<NSString,?> attrs)static CGSizedraw(long thiz, CGPoint point, UIFont font)Deprecated.Deprecated in iOS 7.0.static voiddraw(long thiz, CGRect rect, NSDictionary<NSString,?> attrs)static voiddraw(long thiz, CGRect rect, NSStringDrawingOptions options, NSDictionary<NSString,?> attributes, NSStringDrawingContext context)static CGSizedraw(long thiz, CGRect rect, UIFont font)Deprecated.Deprecated in iOS 7.0.static CGSizedraw(long thiz, CGRect rect, UIFont font, NSLineBreakMode lineBreakMode)Deprecated.Deprecated in iOS 7.0.static CGSizedraw(long thiz, CGRect rect, UIFont font, NSLineBreakMode lineBreakMode, NSTextAlignment alignment)Deprecated.Deprecated in iOS 7.0.static CGRectgetBoundingRect(long thiz, CGSize size, NSStringDrawingOptions options, NSDictionary<NSString,?> attributes, NSStringDrawingContext context)static CGSizegetSize(long thiz, NSDictionary<NSString,?> attrs)static CGSizegetSize(long thiz, UIFont font)Deprecated.Deprecated in iOS 7.0.static CGSizegetSize(long thiz, UIFont font, double width, NSLineBreakMode lineBreakMode)Deprecated.Deprecated in iOS 7.0.static CGSizegetSize(long thiz, UIFont font, double minFontSize, MachineSizedFloatPtr actualFontSize, double width, NSLineBreakMode lineBreakMode)Deprecated.Deprecated in iOS 7.0.static CGSizegetSize(long thiz, UIFont font, CGSize size)Deprecated.Deprecated in iOS 7.0.static CGSizegetSize(long thiz, UIFont font, CGSize size, NSLineBreakMode lineBreakMode)Deprecated.Deprecated in iOS 7.0.Methods inherited from class org.robovm.apple.foundation.NSExtensions
allocMethods inherited from class org.robovm.objc.ObjCExtensions
initObject, updateStrongRef
-
Method Details
-
getSize
-
draw
-
draw
-
draw
public static void draw(long thiz, CGRect rect, NSStringDrawingOptions options, NSDictionary<NSString,?> attributes, NSStringDrawingContext context) -
getBoundingRect
public static CGRect getBoundingRect(long thiz, CGSize size, NSStringDrawingOptions options, NSDictionary<NSString,?> attributes, NSStringDrawingContext context) -
getSize
Deprecated.Deprecated in iOS 7.0. Use sizeWithAttributes: -
getSize
@Deprecated public static CGSize getSize(long thiz, UIFont font, double width, NSLineBreakMode lineBreakMode)Deprecated.Deprecated in iOS 7.0. Use boundingRectWithSize:options:attributes:context: -
draw
Deprecated.Deprecated in iOS 7.0. Use drawAtPoint:withAttributes: -
draw
@Deprecated public static CGSize draw(long thiz, CGPoint point, double width, UIFont font, NSLineBreakMode lineBreakMode)Deprecated.Deprecated in iOS 7.0. Use drawInRect:withAttributes: -
getSize
Deprecated.Deprecated in iOS 7.0. Use boundingRectWithSize:options:attributes:context: -
getSize
@Deprecated public static CGSize getSize(long thiz, UIFont font, CGSize size, NSLineBreakMode lineBreakMode)Deprecated.Deprecated in iOS 7.0. Use boundingRectWithSize:options:attributes:context: -
draw
Deprecated.Deprecated in iOS 7.0. Use drawInRect:withAttributes: -
draw
@Deprecated public static CGSize draw(long thiz, CGRect rect, UIFont font, NSLineBreakMode lineBreakMode)Deprecated.Deprecated in iOS 7.0. Use drawInRect:withAttributes: -
draw
@Deprecated public static CGSize draw(long thiz, CGRect rect, UIFont font, NSLineBreakMode lineBreakMode, NSTextAlignment alignment)Deprecated.Deprecated in iOS 7.0. Use drawInRect:withAttributes: -
getSize
@Deprecated public static CGSize getSize(long thiz, UIFont font, double minFontSize, MachineSizedFloatPtr actualFontSize, double width, NSLineBreakMode lineBreakMode)Deprecated.Deprecated in iOS 7.0. -
draw
@Deprecated public static CGSize draw(long thiz, CGPoint point, double width, UIFont font, double fontSize, NSLineBreakMode lineBreakMode, UIBaselineAdjustment baselineAdjustment)Deprecated.Deprecated in iOS 7.0. Use drawInRect:withAttributes: -
draw
@Deprecated public static CGSize draw(long thiz, CGPoint point, double width, UIFont font, double minFontSize, MachineSizedFloatPtr actualFontSize, NSLineBreakMode lineBreakMode, UIBaselineAdjustment baselineAdjustment)Deprecated.Deprecated in iOS 7.0. Use drawInRect:withAttributes:
-