Package org.robovm.apple.uikit
Class NSAttributedStringExtensions
java.lang.Object
org.robovm.objc.ObjCExtensions
org.robovm.apple.foundation.NSExtensions
org.robovm.apple.uikit.NSAttributedStringExtensions
public final class NSAttributedStringExtensions extends NSExtensions
-
Method Summary
Methods inherited from class org.robovm.apple.foundation.NSExtensions
allocMethods inherited from class org.robovm.objc.ObjCExtensions
initObject, updateStrongRef
-
Method Details
-
create
-
create
-
init
public static long init(NSAttributedString thiz, NSURL url, NSAttributedStringDocumentAttributes options, NSDictionary.NSDictionaryPtr<?,?> dict) throws NSErrorException- Throws:
NSErrorException- Since:
- Available in iOS 9.0 and later.
-
init
public static long init(NSAttributedString thiz, NSData data, NSAttributedStringDocumentAttributes options, NSDictionary.NSDictionaryPtr<?,?> dict) throws NSErrorException- Throws:
NSErrorException
-
getData
public static NSData getData(NSAttributedString thiz, NSRange range, NSAttributedStringDocumentAttributes dict) throws NSErrorException- Throws:
NSErrorException
-
getFileWrapper
public static NSFileWrapper getFileWrapper(NSAttributedString thiz, NSRange range, NSAttributedStringDocumentAttributes dict) throws NSErrorException- Throws:
NSErrorException
-
containsAttachments
- Since:
- Available in iOS 9.0 and later.
-
initWithFileURL
@Deprecated public static long initWithFileURL(NSAttributedString thiz, NSURL url, NSAttributedStringDocumentAttributes options, NSDictionary.NSDictionaryPtr<?,?> dict) throws NSErrorExceptionDeprecated.Deprecated in iOS 9.0. Use initWithURL:options:documentAttributes:error:- Throws:
NSErrorException
-
getSize
-
draw
-
draw
-
draw
public static void draw(NSAttributedString thiz, CGRect rect, NSStringDrawingOptions options, NSStringDrawingContext context) -
getBoundingRect
public static CGRect getBoundingRect(NSAttributedString thiz, CGSize size, NSStringDrawingOptions options, NSStringDrawingContext context)
-