Exemplo n.º 1
0
 /** @since Available in iOS 7.0 and later. */
 public static NSAttributedString create(NSTextAttachment attachment) {
   return NSAttributedStringExtensions.create(attachment);
 }
Exemplo 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);
 }
Exemplo 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);
 }
Exemplo n.º 4
0
 /** @since Available in iOS 6.0 and later. */
 public void draw(CGPoint point) {
   NSAttributedStringExtensions.draw(this, point);
 }
Exemplo n.º 5
0
 /** @since Available in iOS 6.0 and later. */
 public void draw(CGRect rect) {
   NSAttributedStringExtensions.draw(this, rect);
 }
Exemplo n.º 6
0
 /** @since Available in iOS 6.0 and later. */
 public CGSize getSize() {
   return NSAttributedStringExtensions.getSize(this);
 }
Exemplo 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);
 }
Exemplo 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);
 }
Exemplo 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);
 }
Exemplo 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);
 }