예제 #1
0
 /** @since Available in iOS 3.2 and later. */
 public @MachineSizedFloat double getDescent() {
   MachineSizedFloatPtr ptr = new MachineSizedFloatPtr();
   getTypographicBounds(null, ptr, null);
   return ptr.get();
 }
예제 #2
0
 /** @since Available in iOS 3.2 and later. */
 public @MachineSizedFloat double getLeading() {
   MachineSizedFloatPtr ptr = new MachineSizedFloatPtr();
   getTypographicBounds(null, null, ptr);
   return ptr.get();
 }
예제 #3
0
 /** @since Available in iOS 3.2 and later. */
 public @MachineSizedFloat double getSecondaryOffset(@MachineSizedSInt long charIndex) {
   MachineSizedFloatPtr ptr = new MachineSizedFloatPtr();
   getOffset(charIndex, ptr);
   return ptr.get();
 }