Protocols

The following protocols are available globally.

  • The ImageFilter protocol defines properties for filtering an image as well as identification of the filter.

    See more

    Declaration

    Swift

    public protocol ImageFilter
  • The Sizable protocol defines a size property intended for use with ImageFilter types.

    See more

    Declaration

    Swift

    public protocol Sizable
  • The Roundable protocol defines a radius property intended for use with ImageFilter types.

    See more

    Declaration

    Swift

    public protocol Roundable
  • The CompositeImageFilter protocol defines an additional filters property to support multiple composite filters.

    See more

    Declaration

    Swift

    public protocol CompositeImageFilter: ImageFilter
  • The CoreImageFilter protocol defines parameters, filterName properties used by CoreImage.

    See more

    Declaration

    Swift

    public protocol CoreImageFilter: ImageFilter
  • The ImageCache protocol defines a set of APIs for adding, removing and fetching images from a cache.

    See more

    Declaration

    Swift

    public protocol ImageCache
  • The ImageRequestCache protocol extends the ImageCache protocol by adding methods for adding, removing and fetching images from a cache given an URLRequest and additional identifier.

    See more

    Declaration

    Swift

    public protocol ImageRequestCache: ImageCache