public interface NSTextAttachmentLayout
| Modifier and Type | Method and Description |
|---|---|
CGRect |
attachmentBoundsForAttributesLocationTextContainerProposedLineFragmentPosition(NSDictionary<java.lang.String,?> attributes,
NSTextLocation location,
NSTextContainer textContainer,
CGRect proposedLineFragment,
CGPoint position)
Returns the layout bounds.
|
UIImage |
imageForBoundsAttributesLocationTextContainer(CGRect bounds,
NSDictionary<java.lang.String,?> attributes,
NSTextLocation location,
NSTextContainer textContainer)
Returns the image object rendered at bounds inside textContainer.
|
NSTextAttachmentViewProvider |
viewProviderForParentViewLocationTextContainer(UIView parentView,
NSTextLocation location,
NSTextContainer textContainer)
Returns the text attachment view provider corresponding to -fileType.
|
CGRect attachmentBoundsForAttributesLocationTextContainerProposedLineFragmentPosition(NSDictionary<java.lang.String,?> attributes, NSTextLocation location, NSTextContainer textContainer, CGRect proposedLineFragment, CGPoint position)
UIImage imageForBoundsAttributesLocationTextContainer(CGRect bounds, NSDictionary<java.lang.String,?> attributes, NSTextLocation location, NSTextContainer textContainer)
NSTextAttachmentViewProvider viewProviderForParentViewLocationTextContainer(UIView parentView, NSTextLocation location, NSTextContainer textContainer)