init(cgAffineTransform:)
Initialize a Core Image vector object with six values provided by a CGAffineTransform structure.
Declaration
convenience init(cgAffineTransform t: CGAffineTransform)Parameters
- t:
The
CGAffineTransformstructure.
Return Value
An initialized CIVector object of length 6.
Discussion
The CGAffineTransform structure’s a, b, c, c, tx and ty values are stored in the vector’s six values.