コード例 #1
0
 /** @since Available in iOS 4.0 and later. */
 public CMTextJustification getVerticalJustification() {
   if (has(Keys.VerticalJustification())) {
     CFNumber val = get(Keys.VerticalJustification(), CFNumber.class);
     return CMTextJustification.valueOf(val.longValue());
   }
   return null;
 }
コード例 #2
0
 /** @since Available in iOS 4.0 and later. */
 public CMTextFormatDescriptionExtension setVerticalJustification(
     CMTextJustification verticalJustification) {
   set(Keys.VerticalJustification(), CFNumber.valueOf(verticalJustification.value()));
   return this;
 }