Esempio n. 1
0
 /** @since Available in iOS 7.0 and later. */
 public static NSAttributedString create(NSTextAttachment attachment) {
   return NSAttributedStringExtensions.create(attachment);
 }
Esempio n. 2
0
 /** @since Available in iOS 6.0 and later. */
 public void draw(
     @ByVal CGRect rect, NSStringDrawingOptions options, NSStringDrawingContext context) {
   NSAttributedStringExtensions.draw(this, rect, options, context);
 }
Esempio n. 3
0
 /** @since Available in iOS 6.0 and later. */
 public CGRect getBoundingRect(
     @ByVal CGSize size, NSStringDrawingOptions options, NSStringDrawingContext context) {
   return NSAttributedStringExtensions.getBoundingRect(this, size, options, context);
 }
Esempio n. 4
0
 /** @since Available in iOS 6.0 and later. */
 public void draw(CGPoint point) {
   NSAttributedStringExtensions.draw(this, point);
 }
Esempio n. 5
0
 /** @since Available in iOS 6.0 and later. */
 public void draw(CGRect rect) {
   NSAttributedStringExtensions.draw(this, rect);
 }
Esempio n. 6
0
 /** @since Available in iOS 6.0 and later. */
 public CGSize getSize() {
   return NSAttributedStringExtensions.getSize(this);
 }
Esempio n. 7
0
 /**
  * @param range
  * @param dict
  * @return
  * @since Available in iOS 7.0 and later.
  * @throws NSErrorException
  */
 public NSFileWrapper getFileWrapper(NSRange range, NSAttributedStringDocumentAttributes dict)
     throws NSErrorException {
   return NSAttributedStringExtensions.getFileWrapper(this, range, dict);
 }
Esempio n. 8
0
 /**
  * @param range
  * @param dict
  * @return
  * @since Available in iOS 7.0 and later.
  * @throws NSErrorException
  */
 public NSData getData(NSRange range, NSAttributedStringDocumentAttributes dict)
     throws NSErrorException {
   return NSAttributedStringExtensions.getData(this, range, dict);
 }
Esempio n. 9
0
 /**
  * @param data
  * @param options
  * @return
  * @since Available in iOS 7.0 and later.
  * @throws NSErrorException
  */
 public static NSAttributedString create(NSData data, NSAttributedStringDocumentAttributes options)
     throws NSErrorException {
   return NSAttributedStringExtensions.createFromData(data, options);
 }
Esempio n. 10
0
 /**
  * @param url
  * @param options
  * @return
  * @since Available in iOS 7.0 and later.
  * @throws NSErrorException
  */
 public static NSAttributedString create(NSURL url, NSAttributedStringDocumentAttributes options)
     throws NSErrorException {
   return NSAttributedStringExtensions.createFromURL(url, options);
 }