CGRect is a structure from the ApplicationServices framework used with Apple's OSX and iOS operating systems. This structure is used to represent the origin and size of a rectangle.
CGRect is a structure that contains the location and dimensions of a rectangle.
Fields
- origin: A point that specifies the coordinates of the rectangle’s origin.
- size: A size that specifies the height and width of the rectangle.