CGPoint
public extension CGPoint
-
init: Initialise a CGPoint from a FREObject.
let rect = CGPoint(argv[0])
Declaration
Swift
init?(_ freObject: FREObject?)
Parameters
freObject
FREObject which is of AS3 type flash.geom.Point
Return Value
CGPoint?
-
toFREObject: Converts a CGPoint into a FREObject of AS3 type flash.geom.Point.
let fre = CGPoint().toFREObject()
Declaration
Swift
func toFREObject() -> FREObject?
Return Value
FREObject?