@MarshalsPointer public static CGImagePropertyGIFData toObject(Class<CGImagePropertyGIFData> cls, long handle, long flags) { CFDictionary o = (CFDictionary) CFType.Marshaler.toObject(CFDictionary.class, handle, flags); if (o == null) { return null; } return new CGImagePropertyGIFData(o); } @MarshalsPointer
/** * @since Available in iOS 4.0 and later. */ public CGImageProperties setGIFData(CGImagePropertyGIFData gIFData) { set(Keys.GIFDictionary(), gIFData.getDictionary()); return this; } /**
public CGImagePropertyGIFData set(CGImagePropertyGIF property, String value) { set(property, new CFString(value)); return this; } public CGImagePropertyGIFData set(CGImagePropertyGIF property, double value) {
public <T extends NativeObject> T get(CGImagePropertyGIF key, Class<T> type) { if (has(key)) { return data.get(key.value(), type); } return null; } public CGImagePropertyGIFData set(CGImagePropertyGIF key, NativeObject value) {
public CGImagePropertyGIFData set(CGImagePropertyGIF property, double value) { set(property, CFNumber.valueOf(value)); return this; }
public <T extends NativeObject> T get(CGImagePropertyGIF key, Class<T> type) { if (has(key)) { return data.get(key.value(), type); } return null; } public CGImagePropertyGIFData set(CGImagePropertyGIF key, NativeObject value) {
@MarshalsPointer public static List<CGImagePropertyGIFData> toObject(Class<? extends CFType> cls, long handle, long flags) { CFArray o = (CFArray) CFType.Marshaler.toObject(CFArray.class, handle, flags); if (o == null) { return null; } List<CGImagePropertyGIFData> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(new CGImagePropertyGIFData(o.get(i, CFDictionary.class))); } return list; } @MarshalsPointer
@MarshalsPointer public static long toNative(List<CGImagePropertyGIFData> l, long flags) { if (l == null) { return 0L; } CFArray array = CFMutableArray.create(); for (CGImagePropertyGIFData i : l) { array.add(i.getDictionary()); } return CFType.Marshaler.toNative(array, flags); } }
public CGImagePropertyGIFData set(CGImagePropertyGIF property, String value) { set(property, new CFString(value)); return this; } public CGImagePropertyGIFData set(CGImagePropertyGIF property, double value) {
public <T extends NativeObject> T get(CGImagePropertyGIF key, Class<T> type) { if (has(key)) { return data.get(key.value(), type); } return null; } public CGImagePropertyGIFData set(CGImagePropertyGIF key, NativeObject value) {
/** * @since Available in iOS 4.0 and later. */ public CGImagePropertyGIFData getGIFData() { if (has(Keys.GIFDictionary())) { CFDictionary val = get(Keys.GIFDictionary(), CFDictionary.class); return new CGImagePropertyGIFData(val); } return null; } /**
/** * @since Available in iOS 4.0 and later. */ public CGImageProperties setGIFData(CGImagePropertyGIFData gIFData) { set(Keys.GIFDictionary(), gIFData.getDictionary()); return this; } /**
public CGImagePropertyGIFData set(CGImagePropertyGIF property, double value) { set(property, CFNumber.valueOf(value)); return this; }
@MarshalsPointer public static CGImagePropertyGIFData toObject(Class<CGImagePropertyGIFData> cls, long handle, long flags) { CFDictionary o = (CFDictionary) CFType.Marshaler.toObject(CFDictionary.class, handle, flags); if (o == null) { return null; } return new CGImagePropertyGIFData(o); } @MarshalsPointer
/** * @since Available in iOS 4.0 and later. */ public CGImageProperties setGIFData(CGImagePropertyGIFData gIFData) { set(Keys.GIFDictionary(), gIFData.getDictionary()); return this; } /**
public CGImagePropertyGIFData set(CGImagePropertyGIF property, String value) { set(property, new CFString(value)); return this; } public CGImagePropertyGIFData set(CGImagePropertyGIF property, double value) {