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