/** * @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.2 and later. */ public double getPathWidth() { if (has(Keys.PathWidth())) { CFNumber val = get(Keys.PathWidth(), CFNumber.class); return val.doubleValue(); } return 0; } /**
/** * @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 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 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.2 and later. */ public double getPathWidth() { if (has(Keys.PathWidth())) { CFNumber val = get(Keys.PathWidth(), CFNumber.class); return val.doubleValue(); } return 0; } /**
/** * @since Available in iOS 4.2 and later. */ public double getPathWidth() { if (has(Keys.PathWidth())) { CFNumber val = get(Keys.PathWidth(), CFNumber.class); return val.doubleValue(); } return 0; } /**
/** * @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 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 CTFramePathFillRule getPathFillRule() { if (has(Keys.PathFillRule())) { CFNumber val = get(Keys.PathFillRule(), CFNumber.class); return CTFramePathFillRule.valueOf(val.longValue()); } return null; } /**
/** * @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; } /**