/** * @since Available in iOS 2.0 and later. * @deprecated Deprecated in iOS 7.0. */ @Deprecated @WeaklyLinked public CGSize getSize(UIFont font) { return NSStringExtensions.getSize(this.getHandle(), font); } /**
/** * @since Available in iOS 2.0 and later. * @deprecated Deprecated in iOS 7.0. */ @Deprecated @WeaklyLinked public CGSize draw(CGPoint point, UIFont font) { return NSStringExtensions.draw(this.getHandle(), point, font); } /**
/** * @since Available in iOS 7.0 and later. */ @WeaklyLinked public void draw(CGPoint point, NSDictionary<NSString, NSObject> attrs) { NSStringExtensions.draw(this.getHandle(), point, attrs); } /**
/** * @since Available in iOS 7.0 and later. */ @WeaklyLinked public void draw(CGRect rect, NSAttributedStringAttributes attrs) { if (attrs == null) { NSStringExtensions.draw(this.getHandle(), rect, (NSDictionary<NSString, NSObject>)null); } else { NSStringExtensions.draw(this.getHandle(), rect, attrs.getDictionary()); } } /**
/** * @since Available in iOS 7.0 and later. */ @WeaklyLinked public CGRect getBoundingRect(CGSize size, NSStringDrawingOptions options, NSAttributedStringAttributes attributes, NSStringDrawingContext context) { if (attributes == null) { return NSStringExtensions.getBoundingRect(this.getHandle(), size, options, null, context); } return NSStringExtensions.getBoundingRect(this.getHandle(), size, options, attributes.getDictionary(), context); } /**
/** * @since Available in iOS 7.0 and later. */ @WeaklyLinked public void draw(CGPoint point, NSAttributedStringAttributes attrs) { if (attrs == null) { NSStringExtensions.draw(this.getHandle(), point, (NSDictionary<NSString, NSObject>)null); } else { NSStringExtensions.draw(this.getHandle(), point, attrs.getDictionary()); } } /**
/** * @since Available in iOS 7.0 and later. */ @WeaklyLinked public void draw(CGRect rect, NSDictionary<NSString, NSObject> attrs) { NSStringExtensions.draw(this.getHandle(), rect, attrs); } /**
/** * @since Available in iOS 2.0 and later. * @deprecated Deprecated in iOS 7.0. */ @Deprecated @WeaklyLinked public CGSize getSize(UIFont font, @MachineSizedFloat double width, NSLineBreakMode lineBreakMode) { return NSStringExtensions.getSize(this.getHandle(), font, width, lineBreakMode); } /**
/** * @since Available in iOS 2.0 and later. * @deprecated Deprecated in iOS 7.0. */ @Deprecated @WeaklyLinked public CGSize getSize(UIFont font, @ByVal CGSize size, NSLineBreakMode lineBreakMode) { return NSStringExtensions.getSize(this.getHandle(), font, size, lineBreakMode); } /**
/** * @since Available in iOS 2.0 and later. * @deprecated Deprecated in iOS 7.0. */ @Deprecated @WeaklyLinked public CGSize draw(CGPoint point, @MachineSizedFloat double width, UIFont font, NSLineBreakMode lineBreakMode) { return NSStringExtensions.draw(this.getHandle(), point, width, font, lineBreakMode); } /**
/** * @since Available in iOS 7.0 and later. */ @WeaklyLinked public CGSize getSize(NSAttributedStringAttributes attrs) { if (attrs == null) { throw new NullPointerException("attrs"); } return NSStringExtensions.getSize(this.getHandle(), attrs.getDictionary()); } /**
/** * @since Available in iOS 2.0 and later. * @deprecated Deprecated in iOS 7.0. */ @Deprecated @WeaklyLinked public CGSize getSize(UIFont font, @ByVal CGSize size) { return NSStringExtensions.getSize(this.getHandle(), font, size); } /**
/** * @since Available in iOS 2.0 and later. * @deprecated Deprecated in iOS 7.0. */ @Deprecated @WeaklyLinked public CGSize draw(NSString thiz, @ByVal CGRect rect, UIFont font, NSLineBreakMode lineBreakMode) { return NSStringExtensions.draw(this.getHandle(), rect, font, lineBreakMode); } /**
/** * @since Available in iOS 7.0 and later. */ @WeaklyLinked public CGRect getBoundingRect(CGSize size, NSStringDrawingOptions options, CMTextMarkupAttributes attributes, NSStringDrawingContext context) { if (attributes == null) { return NSStringExtensions.getBoundingRect(this.getHandle(), size, options, null, context); } return NSStringExtensions.getBoundingRect(this.getHandle(), size, options, attributes.getDictionary().as(NSDictionary.class), context); } /**
/** * @since Available in iOS 7.0 and later. */ @WeaklyLinked public void draw(CGRect rect, CTAttributedStringAttributes attrs) { if (attrs == null) { NSStringExtensions.draw(this.getHandle(), rect, (NSDictionary<NSString, NSObject>)null); } else { NSStringExtensions.draw(this.getHandle(), rect, attrs.getDictionary().as(NSDictionary.class)); } } /**
/** * @since Available in iOS 7.0 and later. */ @WeaklyLinked public void draw(CGPoint point, CMTextMarkupAttributes attrs) { if (attrs == null) { NSStringExtensions.draw(this.getHandle(), point, (NSDictionary<NSString, NSObject>)null); } else { NSStringExtensions.draw(this.getHandle(), point, attrs.getDictionary().as(NSDictionary.class)); } } /**
/** * @since Available in iOS 7.0 and later. */ @WeaklyLinked public void draw(CGPoint point, CTAttributedStringAttributes attrs) { if (attrs == null) { NSStringExtensions.draw(this.getHandle(), point, (NSDictionary<NSString, NSObject>)null); } else { NSStringExtensions.draw(this.getHandle(), point, attrs.getDictionary().as(NSDictionary.class)); } } /**
/** * @since Available in iOS 7.0 and later. */ @WeaklyLinked public void draw(CGRect rect, CMTextMarkupAttributes attrs) { if (attrs == null) { NSStringExtensions.draw(this.getHandle(), rect, (NSDictionary<NSString, NSObject>)null); } else { NSStringExtensions.draw(this.getHandle(), rect, attrs.getDictionary().as(NSDictionary.class)); } } /**
/** * @since Available in iOS 2.0 and later. * @deprecated Deprecated in iOS 7.0. */ @Deprecated @WeaklyLinked public CGSize getSize(UIFont font, @MachineSizedFloat double minFontSize, @MachineSizedFloat double width, NSLineBreakMode lineBreakMode) { return NSStringExtensions.getSize(this.getHandle(), font, minFontSize, null, width, lineBreakMode); } /**
/** * @since Available in iOS 7.0 and later. */ @WeaklyLinked public CGSize getSize(CTAttributedStringAttributes attrs) { if (attrs == null) { throw new NullPointerException("attrs"); } return NSStringExtensions.getSize(this.getHandle(), attrs.getDictionary().as(NSDictionary.class)); } /**