Contents

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.