Package org.robovm.apple.uikit
Interface NSLayoutManagerDelegate
- All Superinterfaces:
NSObjectProtocol,ObjCProtocol
- All Known Implementing Classes:
NSLayoutManagerDelegateAdapter
public interface NSLayoutManagerDelegate extends NSObjectProtocol
-
Method Summary
-
Method Details
-
shouldGenerateGlyphs
long shouldGenerateGlyphs(NSLayoutManager layoutManager, ShortPtr glyphs, MachineSizedSIntPtr props, MachineSizedUIntPtr charIndexes, UIFont aFont, NSRange glyphRange) -
getLineSpacingAfterGlyph
-
getParagraphSpacingBeforeGlyph
-
getParagraphSpacingAfterGlyph
-
shouldUseAction
NSControlCharacterAction shouldUseAction(NSLayoutManager layoutManager, NSControlCharacterAction action, long charIndex) -
shouldBreakLineByWordBeforeCharacter
-
shouldBreakLineByHyphenatingBeforeCharacter
-
getBoundingBoxForControlGlyph
CGRect getBoundingBoxForControlGlyph(NSLayoutManager layoutManager, long glyphIndex, NSTextContainer textContainer, CGRect proposedRect, CGPoint glyphPosition, long charIndex) -
shouldSetLineFragmentRect
boolean shouldSetLineFragmentRect(NSLayoutManager layoutManager, CGRect lineFragmentRect, CGRect lineFragmentUsedRect, MachineSizedFloatPtr baselineOffset, NSTextContainer textContainer, NSRange glyphRange)- Since:
- Available in iOS 9.0 and later.
-
didInvalidateLayout
-
didCompleteLayout
void didCompleteLayout(NSLayoutManager layoutManager, NSTextContainer textContainer, boolean layoutFinishedFlag) -
didChangeGeometry
void didChangeGeometry(NSLayoutManager layoutManager, NSTextContainer textContainer, CGSize oldSize)
-