Package org.robovm.apple.uikit
Interface NSTextAttachmentLayout
- All Superinterfaces:
NSObjectProtocol,ObjCProtocol
- All Known Implementing Classes:
NSTextAttachment,NSTextAttachmentLayoutAdapter
public interface NSTextAttachmentLayout extends NSObjectProtocol
-
Method Summary
Modifier and Type Method Description CGRectattachmentBoundsForAttributes(NSDictionary<NSString,?> attributes, NSTextLocation location, NSTextContainer textContainer, CGRect proposedLineFragment, CGPoint position)UIImageimageForBounds(CGRect bounds, NSDictionary<NSString,?> attributes, NSTextLocation location, NSTextContainer textContainer)NSTextAttachmentViewProviderviewProviderForParentView(UIView parentView, NSTextLocation location, NSTextContainer textContainer)
-
Method Details
-
imageForBounds
UIImage imageForBounds(CGRect bounds, NSDictionary<NSString,?> attributes, NSTextLocation location, NSTextContainer textContainer)- Since:
- Available in iOS 15.0 and later.
-
attachmentBoundsForAttributes
CGRect attachmentBoundsForAttributes(NSDictionary<NSString,?> attributes, NSTextLocation location, NSTextContainer textContainer, CGRect proposedLineFragment, CGPoint position)- Since:
- Available in iOS 15.0 and later.
-
viewProviderForParentView
NSTextAttachmentViewProvider viewProviderForParentView(UIView parentView, NSTextLocation location, NSTextContainer textContainer)- Since:
- Available in iOS 15.0 and later.
-