CGSize
extension CGSize
-
Rect creator
Declaration
Swift
func rect() -> CGRect
-
Center accessor
Declaration
Swift
func center() -> CGPoint
-
Center top accessor
Declaration
Swift
func centerTop(forSize size: CGSize) -> CGPoint
-
Center bottom accessor
Declaration
Swift
func centerBottom(forSize size: CGSize) -> CGPoint
-
Center left accessor
Declaration
Swift
func centerLeft(forSize size: CGSize) -> CGPoint
-
Center right accessor
Declaration
Swift
func centerRight(forSize size: CGSize) -> CGPoint
-
Top left accessor
Declaration
Swift
func topLeft(forSize size: CGSize) -> CGPoint
-
Top right accessor
Declaration
Swift
func topRight(forSize size: CGSize) -> CGPoint
-
Bottom left accessor
Declaration
Swift
func bottomLeft(forSize size: CGSize) -> CGPoint
-
Bottom right accessor
Declaration
Swift
func bottomRight(forSize size: CGSize) -> CGPoint