CGRectGetWidth( rect ) |
rect.width |
CGRectGetHeight( rect ) |
rect.height |
CGRectGetMinX( rect ) |
rect.minX |
CGRectGetMidX( rect ) |
rect.midX |
CGRectGetMaxX( rect ) |
rect.maxX |
CGRectGetMinY( rect ) |
rect.minY |
CGRectGetMidY( rect ) |
rect.midY |
CGRectGetMaxY( rect ) |
rect.maxY |
CGRectIsNull( rect ) |
rect.isNull |
CGRectIsEmpty( rect ) |
rect.isEmpty |
CGRectIsInfinite( rect ) |
rect.isInfinite |
CGRectStandardize( rect ) |
rect.standardize |
CGRectIntegral( rect ) |
rect.integral |
CGRectInset(rect, 1.0, -2.0) |
rect.insetBy(dx: 1.0, dy: -2.0) |
CGRectOffset(rect, -1.0, 2.0) |
rect.offsetBy(dx: -1.0, dy: 2.0) |
CGRectUnion(rect1, rect2) |
rect1.union(rect2) |
CGRectIntersection( rect1 ,rect2) |
rect1.intersect(rect2) |
CGRectContainsRect( rect1,rect2) |
rect1.contains(rect2) |
CGRectContainsPoint(rect ,point) |
rect.contains(point) |
CGRectIntersectsRect( rect1,rect2 ) |
rect1.intersects(rect2) |