CGRect
extension CGRect
-
Returns a CGRect value initialized with an origin at (0,0) and the provided width and height
Declaration
Swift
public init(width: CGFloat, height: CGFloat)Parameters
widthThe width
heightThe height
Return Value
A CGRect value initialized with an origin at (0,0) and the provided width and height
View on GitHub
Install in Dash
CGRect Extension Reference