Class CTRun

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class CTRun
    extends CFType
    • Constructor Detail

      • CTRun

        protected CTRun()
    • Method Detail

      • getGlyphs

        public short[] getGlyphs​(CFRange range)
        Since:
        Available in iOS 3.2 and later.
      • getPositions

        public CGPoint[] getPositions​(CFRange range)
        Since:
        Available in iOS 3.2 and later.
      • getAdvances

        public CGSize[] getAdvances​(CFRange range)
        Since:
        Available in iOS 3.2 and later.
      • getStringIndices

        public long[] getStringIndices​(CFRange range)
        Since:
        Available in iOS 3.2 and later.
      • getWidth

        public double getWidth​(CFRange range)
        Since:
        Available in iOS 3.2 and later.
      • getAscent

        public double getAscent​(CFRange range)
        Since:
        Available in iOS 3.2 and later.
      • getDescent

        public double getDescent​(CFRange range)
        Since:
        Available in iOS 3.2 and later.
      • getLeading

        public double getLeading​(CFRange range)
        Since:
        Available in iOS 3.2 and later.
      • getClassTypeID

        public static long getClassTypeID()
        Since:
        Available in iOS 3.2 and later.
      • getGlyphCount

        public long getGlyphCount()
        Since:
        Available in iOS 3.2 and later.
      • getAttributesDictionary

        public NSDictionary getAttributesDictionary()
        Since:
        Available in iOS 3.2 and later.
      • getStatus

        public CTRunStatus getStatus()
        Since:
        Available in iOS 3.2 and later.
      • getGlyphs

        protected void getGlyphs​(CFRange range,
                                 org.robovm.rt.bro.ptr.ShortPtr buffer)
        Since:
        Available in iOS 3.2 and later.
      • getPositions

        protected void getPositions​(CFRange range,
                                    CGPoint buffer)
        Since:
        Available in iOS 3.2 and later.
      • getAdvances

        protected void getAdvances​(CFRange range,
                                   CGSize buffer)
        Since:
        Available in iOS 3.2 and later.
      • getStringIndices

        protected void getStringIndices​(CFRange range,
                                        org.robovm.rt.bro.ptr.LongPtr buffer)
        Since:
        Available in iOS 3.2 and later.
      • getStringRange

        public CFRange getStringRange()
        Since:
        Available in iOS 3.2 and later.
      • getTypographicBounds

        protected double getTypographicBounds​(CFRange range,
                                              org.robovm.rt.bro.ptr.MachineSizedFloatPtr ascent,
                                              org.robovm.rt.bro.ptr.MachineSizedFloatPtr descent,
                                              org.robovm.rt.bro.ptr.MachineSizedFloatPtr leading)
        Since:
        Available in iOS 3.2 and later.
      • getImageBounds

        public CGRect getImageBounds​(CGContext context,
                                     CFRange range)
        Since:
        Available in iOS 3.2 and later.
      • getTextMatrix

        public CGAffineTransform getTextMatrix()
        Since:
        Available in iOS 3.2 and later.
      • draw

        public void draw​(CGContext context,
                         CFRange range)
        Since:
        Available in iOS 3.2 and later.