ImageFilter

public protocol ImageFilter

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

  • A closure used to create an alternative representation of the given image.

    Declaration

    Swift

    var filter: (Image) -> Image
  • identifier Default implementation

    The string used to uniquely identify the filter operation.

    Default Implementation

    The unique idenitifier for an ImageFilter conforming to the Roundable protocol.

    Declaration

    Swift

    var identifier: String