SCImageFilter:
Filter:
Classes | GUI > Views

SCImageFilter

filter class to use with SCImage
Location: NOT INSTALLED!

Description

currently this class represents the CoreImage Filters you can apply to a SCImage. All the built-in filters and docs: http://developer.apple.com/documentation/GraphicsImaging/Reference/CoreImageFilterReference/Reference/reference.html

Class Methods

.new

Arguments:

filterName

The filter name Symbol or String

args

The filter name Symbol or String

.filterCategories

Returns a Dictionary containing all the filters associated by categories.

Inherited class methods

Instance Methods

.attributes

returns an IdentityDictionary containing for each association:

Once you know the attributes you can set them like using normal instance setters, use the name and append '_'.

.attributeRange

get the numerical range and the default Value for an attribute. returns an Array as [ min, max, default ]. min, max, or default may be a Float, a Color, an Array or Nil.

.values

returns all the values you set for each attributes. If a value is not explicitly set for an attribute, it will be set to default when applied to the SCImage.

.set

set the attributes for this SCImageFilter

.enable

enable or not the Filter when applied to a SCImage.

Arguments:

value

If this is false, applying the filter will do nothing.

Inherited instance methods

Examples