CGVectorMake(_:_:)
Returns a vector with the specified dimension values.
Declaration
func CGVectorMake(_ dx: CGFloat, _ dy: CGFloat) -> CGVectorParameters
- dx:
The x-coordinate of the vector to construct.
- dy:
The y-coordinate of the vector to construct.
Return Value
Returns a CGVector structure with the specified coordinates.