/** * @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; } /**
public static /*<name>*/CTFramePathFillRule/*</name>*/ valueOf(long n) { for (/*<name>*/CTFramePathFillRule/*</name>*/ v : values()) { if (v.n == n) { return v; } } throw new IllegalArgumentException("No constant with value " + n + " found in " + /*<name>*/CTFramePathFillRule/*</name>*/.class.getName()); } }
/** * @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; } /**
public static /*<name>*/CTFramePathFillRule/*</name>*/ valueOf(long n) { for (/*<name>*/CTFramePathFillRule/*</name>*/ v : values()) { if (v.n == n) { return v; } } throw new IllegalArgumentException("No constant with value " + n + " found in " + /*<name>*/CTFramePathFillRule/*</name>*/.class.getName()); } }
/** * @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; } /**
public static /*<name>*/CTFramePathFillRule/*</name>*/ valueOf(long n) { for (/*<name>*/CTFramePathFillRule/*</name>*/ v : values()) { if (v.n == n) { return v; } } throw new IllegalArgumentException("No constant with value " + n + " found in " + /*<name>*/CTFramePathFillRule/*</name>*/.class.getName()); } }