/** * @since Available in iOS 4.3 and later. */ public List<CTFrameClippingPath> getClippingPaths() { if (has(Keys.ClippingPaths())) { CFArray val = get(Keys.ClippingPaths(), CFArray.class); List<CTFrameClippingPath> list = new ArrayList<>(); CFDictionary[] array = val.toArray(CFDictionary.class); for (CFDictionary d : array) { list.add(new CTFrameClippingPath(d)); } return list; } return null; } /**
/** * @since Available in iOS 4.3 and later. */ public List<CTFrameClippingPath> getClippingPaths() { if (has(Keys.ClippingPaths())) { CFArray val = get(Keys.ClippingPaths(), CFArray.class); List<CTFrameClippingPath> list = new ArrayList<>(); CFDictionary[] array = val.toArray(CFDictionary.class); for (CFDictionary d : array) { list.add(new CTFrameClippingPath(d)); } return list; } return null; } /**
/** * @since Available in iOS 4.3 and later. */ public List<CTFrameClippingPath> getClippingPaths() { if (has(Keys.ClippingPaths())) { CFArray val = get(Keys.ClippingPaths(), CFArray.class); List<CTFrameClippingPath> list = new ArrayList<>(); CFDictionary[] array = val.toArray(CFDictionary.class); for (CFDictionary d : array) { list.add(new CTFrameClippingPath(d)); } return list; } return null; } /**
/** * @since Available in iOS 3.2 and later. */ public CTFrameAttributes setProgression(CTFrameProgression progression) { set(Keys.Progression(), CFNumber.valueOf(progression.value())); return this; } /**
/** * @since Available in iOS 3.2 and later. */ public CTFrameProgression getProgression() { if (has(Keys.Progression())) { CFNumber val = get(Keys.Progression(), CFNumber.class); return CTFrameProgression.valueOf(val.longValue()); } return null; } /**
/** * @since Available in iOS 3.2 and later. */ public CTFrameAttributes setProgression(CTFrameProgression progression) { set(Keys.Progression(), CFNumber.valueOf(progression.value())); return this; } /**
/** * @since Available in iOS 4.3 and later. */ public CTFrameAttributes setClippingPaths(List<CTFrameClippingPath> clippingPaths) { CFArray val = CFMutableArray.create(); for (CTFrameClippingPath e : clippingPaths) { val.add(e.getDictionary()); } set(Keys.ClippingPaths(), val); return this; } /*</methods>*/
/** * @since Available in iOS 4.2 and later. */ public CTFrameAttributes setPathWidth(double pathWidth) { set(Keys.PathWidth(), CFNumber.valueOf(pathWidth)); return this; } /**
/** * @since Available in iOS 4.2 and later. */ public CTFramePathFillRule getPathFillRule() { if (has(Keys.PathFillRule())) { CFNumber val = get(Keys.PathFillRule(), CFNumber.class); return CTFramePathFillRule.valueOf(val.longValue()); } return null; } /**
/** * @since Available in iOS 4.2 and later. */ public CTFrameAttributes setPathWidth(double pathWidth) { set(Keys.PathWidth(), CFNumber.valueOf(pathWidth)); return this; } /**
/** * @since Available in iOS 4.2 and later. */ public CTFrameAttributes setPathFillRule(CTFramePathFillRule pathFillRule) { set(Keys.PathFillRule(), CFNumber.valueOf(pathFillRule.value())); return this; } /**
/** * @since Available in iOS 4.2 and later. */ public CTFrameAttributes setPathFillRule(CTFramePathFillRule pathFillRule) { set(Keys.PathFillRule(), CFNumber.valueOf(pathFillRule.value())); return this; } /**
/** * @since Available in iOS 4.2 and later. */ public CTFramePathFillRule getPathFillRule() { if (has(Keys.PathFillRule())) { CFNumber val = get(Keys.PathFillRule(), CFNumber.class); return CTFramePathFillRule.valueOf(val.longValue()); } return null; } /**
/** * @since Available in iOS 4.3 and later. */ public CTFrameAttributes setClippingPaths(List<CTFrameClippingPath> clippingPaths) { CFArray val = CFMutableArray.create(); for (CTFrameClippingPath e : clippingPaths) { val.add(e.getDictionary()); } set(Keys.ClippingPaths(), val); return this; } /*</methods>*/
/** * @since Available in iOS 3.2 and later. */ public CTFrameProgression getProgression() { if (has(Keys.Progression())) { CFNumber val = get(Keys.Progression(), CFNumber.class); return CTFrameProgression.valueOf(val.longValue()); } return null; } /**
/** * @since Available in iOS 3.2 and later. */ public CTFrameAttributes setProgression(CTFrameProgression progression) { set(Keys.Progression(), CFNumber.valueOf(progression.value())); return this; } /**
/** * @since Available in iOS 4.2 and later. */ public CTFramePathFillRule getPathFillRule() { if (has(Keys.PathFillRule())) { CFNumber val = get(Keys.PathFillRule(), CFNumber.class); return CTFramePathFillRule.valueOf(val.longValue()); } return null; } /**
/** * @since Available in iOS 4.3 and later. */ public CTFrameAttributes setClippingPaths(List<CTFrameClippingPath> clippingPaths) { CFArray val = CFMutableArray.create(); for (CTFrameClippingPath e : clippingPaths) { val.add(e.getDictionary()); } set(Keys.ClippingPaths(), val); return this; } /*</methods>*/