/** @since Available in iOS 4.0 and later. */
 public CMTextFormatDescriptionColor getBackgroundColor() {
   if (has(Keys.BackgroundColor())) {
     CFDictionary val = get(Keys.BackgroundColor(), CFDictionary.class);
     return new CMTextFormatDescriptionColor(val);
   }
   return null;
 }
Пример #2
0
 /**
  * @since Available in iOS 3.2 and later.
  * @deprecated Deprecated in iOS 8.0.
  */
 @Deprecated
 public UIColor getBackgroundColor() {
   if (has(Keys.BackgroundColor())) {
     UIColor val = (UIColor) get(Keys.BackgroundColor());
     return val;
   }
   return null;
 }
 /** @since Available in iOS 4.0 and later. */
 public CMTextFormatDescriptionExtension setBackgroundColor(
     CMTextFormatDescriptionColor backgroundColor) {
   set(Keys.BackgroundColor(), backgroundColor.getDictionary());
   return this;
 }
Пример #4
0
 /**
  * @since Available in iOS 3.2 and later.
  * @deprecated Deprecated in iOS 8.0.
  */
 @Deprecated
 public UITextInputTextStyle setBackgroundColor(UIColor backgroundColor) {
   set(Keys.BackgroundColor(), backgroundColor);
   return this;
 }