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