Platforms to show: All Mac Windows Linux Cross-Platform
Back to CGRectMBS class.
CGRectMBS.ApplyAffineTransform(a as CGAffineTransformMBS) as CGRectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 9.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns nil on any error.
CGRectMBS.Binary as MemoryBlock
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 9.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
See also:
CGRectMBS.Constructor(p as Ptr)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 17.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Make sure the pointer is valid and has the right data and size.
See also:
CGRectMBS.Constructor(source as CGRectMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 9.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
See also:
CGRectMBS.Constructor(x as Double, y as Double, width as Double, height as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 9.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
See also:
CGRectMBS.ContainsPoint(r as CGPointMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CGRectMBS.ContainsRect(r as CGRectMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
'rect2' is contained in 'rect1' if the union of 'rect1' and 'rect2' is equal to 'rect1'.
(rect1 is the current rect and rect2 the rect you pass to this function)
CGRectMBS.Divide(byref slice as CGRectMBS, byref remainder as CGRectMBS, amount as Double, edge as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Make two new rectangles, 'slice' and 'remainder', by dividing the rect with a line that's parallel to one of its sides, specified by 'edge' -- either 'CGRectMinXEdge', 'CGRectMinYEdge', 'CGRectMaxXEdge', or 'CGRectMaxYEdge'. The size of 'slice' is determined by 'amount', which measures the distance from the specified edge.
CGRectMBS.Equal(r as CGRectMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CGRectMBS.Inset(dx as Double, dy as Double) as CGRectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CGRectMBS.Integral as CGRectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CGRectMBS.Intersection(r as CGRectMBS) as CGRectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This may return a null rect.
CGRectMBS.IntersectsRect(r as CGRectMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
'rect1' intersect 'rect2' if the intersection of 'rect1' and 'rect2' is not the null rect.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
A null rect is defined to be empty.
CGRectMBS.IsInfinite as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 9.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns true if the specified rectangle is infinite, false otherwise.
An infinite rectangle is one that has no defined bounds. Infinite rectangles can be created as output from a tiling filter. For example, the Core Image framework perspective tile filter creates an image whose extent is described by an infinite rectangle.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CGRectMBS.Offset(dx as Double, dy as Double) as CGRectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CGRectMBS.Standardize as CGRectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CGRectMBS.Union(r as CGRectMBS) as CGRectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The items on this page are in the following plugins: MBS MacCG Plugin.