CGFloat
public extension CGFloat
-
init: Initialise a CGFloat from a FREObject.
let myCGFloat = CGFloat(argv[0])
Declaration
Swift
init?(_ freObject: FREObject?)
Parameters
freObject
FREObject which is of AS3 type Number
Return Value
CGFloat?
-
let fre = myCGFloat.toFREObject()
- returns: FREObject
Declaration
Swift
func toFREObject() -> FREObject?