MonobjcMonobjc Documented Class Library
RegisterFilterNameConstructorClassAttributes Method (name, anObject, attributes)
NamespacesMonobjc.QuartzCoreCIFilterRegisterFilterNameConstructorClassAttributes(NSString, Id, NSDictionary)

Publishes a custom filter that is not packaged as an image unit.

Original signature is '+ (void)registerFilterName:(NSString *)name constructor:(id)anObject classAttributes:(NSDictionary *)attributes'

Available in 4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static void RegisterFilterNameConstructorClassAttributes(
	NSString name,
	Id anObject,
	NSDictionary attributes
)
Public Shared Sub RegisterFilterNameConstructorClassAttributes ( _
	name As NSString, _
	anObject As Id, _
	attributes As NSDictionary _
)
public:
static void RegisterFilterNameConstructorClassAttributes(
	NSString^ name, 
	Id^ anObject, 
	NSDictionary^ attributes
)
Parameters
name (NSString)
A string object that specifies the name of the filter you want to publish.
anObject (Id)
A constructor object that implements the filterWithName method.
attributes (NSDictionary)
A dictionary that contains the class display name and filter categories attributes along with the appropriate value for each attributes. That is, the kCIAttributeFilterDisplayName attribute and a string that specifies the display name, and the kCIAttributeFilterCategories and an array that specifies the categories to which the filter belongs (such as kCICategoryStillImage and kCICategoryDistortionEffect). All other attributes for the filter should be returned by the custom attributes method implement by the filter.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)