Package org.robovm.apple.coreimage
Class CIFilter
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.coreimage.CIFilter
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class CIFilter extends NSObject implements NSSecureCoding
- Since:
- Available in iOS 5.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CIFilter.CIFilterPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description CIFilter(java.lang.String name)
CIFilter(java.lang.String name, java.lang.Object... inputParameters)
CIFilter(java.lang.String name, CIFilterInputParameters params)
CIFilter(CVPixelBuffer pixelBuffer, NSDictionary<?,?> properties, CIRAWFilterOptions options)
CIFilter(NSCoder decoder)
CIFilter(NSData data, CIRAWFilterOptions options)
protected
CIFilter(NSObject.Handle h, long handle)
protected
CIFilter(NSObject.SkipInit skipInit)
CIFilter(NSURL url, CIRAWFilterOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static long
create(java.lang.String name)
protected static long
create(java.lang.String name, java.lang.Object... inputParameters)
Creates a new CIFilter with the specifiedname
.protected static long
create(java.lang.String name, CIFilterInputParameters params)
protected static long
create(CVPixelBuffer pixelBuffer, NSDictionary<?,?> properties, CIRAWFilterOptions options)
protected static long
create(NSData data, CIRAWFilterOptions options)
protected static long
create(NSURL url, CIRAWFilterOptions options)
static NSArray<CIFilter>
deserializeFromXMP(NSData xmpData, CGRect extent)
void
encode(NSCoder coder)
NSDictionary<NSString,?>
getAttributes()
static java.util.List<java.lang.String>
getFilterNames(java.util.List<CIFilterCategory> categories)
static java.util.List<java.lang.String>
getFilterNames(CIFilterCategory category)
NSArray<NSString>
getInputKeys()
java.lang.String
getName()
CIImage
getOutputImage()
NSArray<NSString>
getOutputKeys()
protected long
init(NSCoder decoder)
static java.lang.String
localizedDescriptionForFilterName(java.lang.String filterName)
static java.lang.String
localizedNameForCategory(java.lang.String category)
static java.lang.String
localizedNameForFilterName(java.lang.String filterName)
static NSURL
localizedReferenceDocumentationForFilterName(java.lang.String filterName)
static void
register(java.lang.String name, CIFilterConstructor anObject, NSDictionary<NSString,?> attributes)
static NSData
serializeToXMP(NSArray<CIFilter> filters, CGRect extent)
void
setDefaults()
void
setName(java.lang.String v)
static boolean
supportsSecureCoding()
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
CIFilter
protected CIFilter(NSObject.Handle h, long handle)
-
CIFilter
protected CIFilter(NSObject.SkipInit skipInit)
-
CIFilter
public CIFilter(java.lang.String name)
-
CIFilter
public CIFilter(java.lang.String name, CIFilterInputParameters params)
- Since:
- Available in iOS 8.0 and later.
-
CIFilter
public CIFilter(NSURL url, CIRAWFilterOptions options)
- Since:
- Available in iOS 10.0 and later.
-
CIFilter
public CIFilter(NSData data, CIRAWFilterOptions options)
- Since:
- Available in iOS 10.0 and later.
-
CIFilter
public CIFilter(CVPixelBuffer pixelBuffer, NSDictionary<?,?> properties, CIRAWFilterOptions options)
- Since:
- Available in iOS 10.0 and later.
-
CIFilter
public CIFilter(NSCoder decoder)
-
CIFilter
public CIFilter(java.lang.String name, java.lang.Object... inputParameters)
-
-
Method Detail
-
getOutputImage
public CIImage getOutputImage()
- Since:
- Available in iOS 5.0 and later.
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String v)
-
getAttributes
public NSDictionary<NSString,?> getAttributes()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
create
protected static long create(java.lang.String name, java.lang.Object... inputParameters)
Creates a new CIFilter with the specifiedname
. You can specify the input parameters as key-value pairs (String <-> Object). Currently a maximum of 10 key-value pairs is supported. The key of a key-value pair needs to be of type String or NSString. The value of a key-value pair needs to be a String, a Number or a subtype of NSObject.- Parameters:
name
-inputParameters
-- Returns:
-
setDefaults
public void setDefaults()
-
create
protected static long create(java.lang.String name)
-
create
protected static long create(java.lang.String name, CIFilterInputParameters params)
- Since:
- Available in iOS 8.0 and later.
-
getFilterNames
public static java.util.List<java.lang.String> getFilterNames(CIFilterCategory category)
-
getFilterNames
public static java.util.List<java.lang.String> getFilterNames(java.util.List<CIFilterCategory> categories)
-
register
public static void register(java.lang.String name, CIFilterConstructor anObject, NSDictionary<NSString,?> attributes)
- Since:
- Available in iOS 9.0 and later.
-
localizedNameForFilterName
public static java.lang.String localizedNameForFilterName(java.lang.String filterName)
- Since:
- Available in iOS 9.0 and later.
-
localizedNameForCategory
public static java.lang.String localizedNameForCategory(java.lang.String category)
- Since:
- Available in iOS 9.0 and later.
-
localizedDescriptionForFilterName
public static java.lang.String localizedDescriptionForFilterName(java.lang.String filterName)
- Since:
- Available in iOS 9.0 and later.
-
localizedReferenceDocumentationForFilterName
public static NSURL localizedReferenceDocumentationForFilterName(java.lang.String filterName)
- Since:
- Available in iOS 9.0 and later.
-
serializeToXMP
public static NSData serializeToXMP(NSArray<CIFilter> filters, CGRect extent)
- Since:
- Available in iOS 6.0 and later.
-
deserializeFromXMP
public static NSArray<CIFilter> deserializeFromXMP(NSData xmpData, CGRect extent) throws NSErrorException
- Throws:
NSErrorException
- Since:
- Available in iOS 6.0 and later.
-
create
protected static long create(NSURL url, CIRAWFilterOptions options)
- Since:
- Available in iOS 10.0 and later.
-
create
protected static long create(NSData data, CIRAWFilterOptions options)
- Since:
- Available in iOS 10.0 and later.
-
create
protected static long create(CVPixelBuffer pixelBuffer, NSDictionary<?,?> properties, CIRAWFilterOptions options)
- Since:
- Available in iOS 10.0 and later.
-
init
protected long init(NSCoder decoder)
-
-