CGSize
public extension CGSize
-
Max width and height
Declaration
Swift
static var max: CGSize { get } -
Ceiled width and height
Declaration
Swift
var ceiled: CGSize { get } -
Floored width and height
Declaration
Swift
var floored: CGSize { get } -
CGSize to rect
Declaration
Swift
var toRect: CGRect { get } -
Init square CGSize
Declaration
Swift
init(size: CGFloat)Parameters
sizeFor square size
View on GitHub
CGSize Extension Reference