Hue

public struct Hue: Filter

Changes the overall hue, or tint, of the source pixels.

  • The name of the Core Image filter

    Declaration

    Swift

    public let filterName = "CIHueAdjust"
  • The angle to apply to the hue filter. Default value: 1.0

    Declaration

    Swift

    public var angle: Double = 1.0
  • Initializes a new filter

    Declaration

    Swift

    public init() {}
  • Applies the properties of the receiver to create a new CIFilter object

    Declaration

    Swift

    public func createCoreImageFilter(inputImage: CIImage) -> CIFilter

    Parameters

    inputImage

    The image to use as input to the filter.

    Return Value

    The new CIFilter object.