init(point:in:)
Declaration
init!(point: CGPoint, in context: JSContext!)Return Value
A newly allocated JavaScript object containing properties named x and y, with values from the CGPoint.
Discussion
Create a JSValue from a CGPoint.
init!(point: CGPoint, in context: JSContext!)A newly allocated JavaScript object containing properties named x and y, with values from the CGPoint.
Create a JSValue from a CGPoint.