/** * @since Available in iOS 3.2 and later. */ public float getWeightTrait() { if (has(Keys.WeightTrait())) { CFNumber val = get(Keys.WeightTrait(), CFNumber.class); return val.floatValue(); } return 0; } /**
/** * @since Available in iOS 3.2 and later. */ public float getWidthTrait() { if (has(Keys.WidthTrait())) { CFNumber val = get(Keys.WidthTrait(), CFNumber.class); return val.floatValue(); } return 0; } /**
/** * @since Available in iOS 3.2 and later. */ public float getSlantTrait() { if (has(Keys.SlantTrait())) { CFNumber val = get(Keys.SlantTrait(), CFNumber.class); return val.floatValue(); } return 0; } /**
/** * @since Available in iOS 3.2 and later. */ public CTFontSymbolicTraits getSymbolicTrait() { if (has(Keys.SymbolicTrait())) { CFNumber val = get(Keys.SymbolicTrait(), CFNumber.class); return new CTFontSymbolicTraits(val.longValue()); } return null; } /**
/** * @since Available in iOS 3.2 and later. */ public float getWeightTrait() { if (has(Keys.WeightTrait())) { CFNumber val = get(Keys.WeightTrait(), CFNumber.class); return val.floatValue(); } return 0; } /**
/** * @since Available in iOS 3.2 and later. */ public float getSlantTrait() { if (has(Keys.SlantTrait())) { CFNumber val = get(Keys.SlantTrait(), CFNumber.class); return val.floatValue(); } return 0; } /**
/** * @since Available in iOS 3.2 and later. */ public float getWeightTrait() { if (has(Keys.WeightTrait())) { CFNumber val = get(Keys.WeightTrait(), CFNumber.class); return val.floatValue(); } return 0; } /**
/** * @since Available in iOS 3.2 and later. */ public float getWidthTrait() { if (has(Keys.WidthTrait())) { CFNumber val = get(Keys.WidthTrait(), CFNumber.class); return val.floatValue(); } return 0; } /**
/** * @since Available in iOS 3.2 and later. */ public float getSlantTrait() { if (has(Keys.SlantTrait())) { CFNumber val = get(Keys.SlantTrait(), CFNumber.class); return val.floatValue(); } return 0; } /**
/** * @since Available in iOS 3.2 and later. */ public float getWidthTrait() { if (has(Keys.WidthTrait())) { CFNumber val = get(Keys.WidthTrait(), CFNumber.class); return val.floatValue(); } return 0; } /**
/** * @since Available in iOS 3.2 and later. */ public CTFontSymbolicTraits getSymbolicTrait() { if (has(Keys.SymbolicTrait())) { CFNumber val = get(Keys.SymbolicTrait(), CFNumber.class); return new CTFontSymbolicTraits(val.longValue()); } return null; } /**
/** * @since Available in iOS 3.2 and later. */ public CTFontSymbolicTraits getSymbolicTrait() { if (has(Keys.SymbolicTrait())) { CFNumber val = get(Keys.SymbolicTrait(), CFNumber.class); return new CTFontSymbolicTraits(val.longValue()); } return null; } /**