Contents

vectorWithX:Y:

Create a Core Image vector object that is initialized with two values.

Declaration

+ (instancetype) vectorWithX:(CGFloat) x Y:(CGFloat) y;

Parameters

  • x:

    The value for the first position in the vector.

  • y:

    The value for the second position in the vector.

Return Value

An autoreleased CIVector object of length 2.

See Also

Creating a Vector