示例#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();
 }