Contents

init(x:y:)

Initialize a Core Image vector object with two values.

Declaration

convenience init(x: CGFloat, y: CGFloat)

Parameters

  • x:

    The value for the first position in the vector.

  • y:

    The value for the second position in the vector.

Return Value

An initialized CIVector object of length 2.

See Also

Initializing a Vector