Interface NSLayoutManagerDelegate

    • Method Detail

      • shouldGenerateGlyphs

        long shouldGenerateGlyphs​(NSLayoutManager layoutManager,
                                  org.robovm.rt.bro.ptr.ShortPtr glyphs,
                                  org.robovm.rt.bro.ptr.MachineSizedSIntPtr props,
                                  org.robovm.rt.bro.ptr.MachineSizedUIntPtr charIndexes,
                                  UIFont aFont,
                                  NSRange glyphRange)
        Since:
        Available in iOS 7.0 and later.
      • getLineSpacingAfterGlyph

        double getLineSpacingAfterGlyph​(NSLayoutManager layoutManager,
                                        long glyphIndex,
                                        CGRect rect)
        Since:
        Available in iOS 7.0 and later.
      • getParagraphSpacingBeforeGlyph

        double getParagraphSpacingBeforeGlyph​(NSLayoutManager layoutManager,
                                              long glyphIndex,
                                              CGRect rect)
        Since:
        Available in iOS 7.0 and later.
      • getParagraphSpacingAfterGlyph

        double getParagraphSpacingAfterGlyph​(NSLayoutManager layoutManager,
                                             long glyphIndex,
                                             CGRect rect)
        Since:
        Available in iOS 7.0 and later.
      • shouldBreakLineByWordBeforeCharacter

        boolean shouldBreakLineByWordBeforeCharacter​(NSLayoutManager layoutManager,
                                                     long charIndex)
        Since:
        Available in iOS 7.0 and later.
      • shouldBreakLineByHyphenatingBeforeCharacter

        boolean shouldBreakLineByHyphenatingBeforeCharacter​(NSLayoutManager layoutManager,
                                                            long charIndex)
        Since:
        Available in iOS 7.0 and later.
      • getBoundingBoxForControlGlyph

        CGRect getBoundingBoxForControlGlyph​(NSLayoutManager layoutManager,
                                             long glyphIndex,
                                             NSTextContainer textContainer,
                                             CGRect proposedRect,
                                             CGPoint glyphPosition,
                                             long charIndex)
        Since:
        Available in iOS 7.0 and later.
      • shouldSetLineFragmentRect

        boolean shouldSetLineFragmentRect​(NSLayoutManager layoutManager,
                                          CGRect lineFragmentRect,
                                          CGRect lineFragmentUsedRect,
                                          org.robovm.rt.bro.ptr.MachineSizedFloatPtr baselineOffset,
                                          NSTextContainer textContainer,
                                          NSRange glyphRange)
        Since:
        Available in iOS 9.0 and later.
      • didInvalidateLayout

        void didInvalidateLayout​(NSLayoutManager sender)
        Since:
        Available in iOS 7.0 and later.
      • didCompleteLayout

        void didCompleteLayout​(NSLayoutManager layoutManager,
                               NSTextContainer textContainer,
                               boolean layoutFinishedFlag)
        Since:
        Available in iOS 7.0 and later.