CGRect
public extension CGRect
Convenience functions for CGRect.
-
Obtain the center of a CGRect.
Declaration
Swift
@inlinable var mid: CGPoint { get }
public extension CGRect
Convenience functions for CGRect.
Obtain the center of a CGRect.
Swift
@inlinable
var mid: CGPoint { get }