コード例 #1
0
 /** @since Available in iOS 4.0 and later. */
 public CMTextDisplayFlags getDisplayFlags() {
   if (has(Keys.DisplayFlags())) {
     CFNumber val = get(Keys.DisplayFlags(), CFNumber.class);
     return new CMTextDisplayFlags(val.longValue());
   }
   return null;
 }
コード例 #2
0
 /** @since Available in iOS 4.0 and later. */
 public CMTextJustification getTextJustification() {
   if (has(Keys.TextJustification())) {
     CFNumber val = get(Keys.TextJustification(), CFNumber.class);
     return CMTextJustification.valueOf(val.longValue());
   }
   return null;
 }
コード例 #3
0
 /** @since Available in iOS 7.0 and later. */
 public CGImagePropertyOrientation getOrientation() {
   if (has(Keys.DestinationOrientation())) {
     CFNumber val = get(Keys.DestinationOrientation(), CFNumber.class);
     return CGImagePropertyOrientation.valueOf(val.longValue());
   }
   return null;
 }