init(size:in:)
Declaration
init!(size: CGSize, in context: JSContext!)Return Value
A newly allocated JavaScript object containing properties named width and height, with values from the CGSize.
Discussion
Create a JSValue from a CGSize.
init!(size: CGSize, in context: JSContext!)A newly allocated JavaScript object containing properties named width and height, with values from the CGSize.
Create a JSValue from a CGSize.