Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSGraphicsMBS class.
NSGraphicsMBS.graphicsContext as NSGraphicsMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Drawing | MBS MacCocoa Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns nil on any error.
NSGraphicsMBS.graphicsContextWithCGContext(targetCGContext as Variant, initialFlippedState as boolean = false) as NSGraphicsMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Drawing | MBS MacCocoa Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns nil on any error.
NSGraphicsMBS.graphicsContextWithCGContextHandle(targetCGContextRef as Integer, initialFlippedState as boolean = false) as NSGraphicsMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Drawing | MBS MacCocoa Plugin | 15.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns nil on any error.
See also:
NSGraphicsMBS.graphicsContextWithCGContextHandle(targetCGContextRef as Ptr, initialFlippedState as boolean = false) as NSGraphicsMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Drawing | MBS MacCocoa Plugin | 20.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns nil on any error.
See also:
NSGraphicsMBS.graphicsContextWithNSBitmapImageRep(targetImage as NSBitmapImageRepMBS) as NSGraphicsMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Drawing | MBS MacCocoa Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Please make sure the graphics object is destroyed (Set to nil) so the drawings flush to the image.
Returns nil on any error.
NSGraphicsMBS.graphicsContextWithNSImage(targetImage as NSImageMBS) as NSGraphicsMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Drawing | MBS MacCocoa Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Please make sure the graphics object is destroyed (Set to nil) so the drawings flush to the image.
Returns nil on any error.
NSGraphicsMBS.graphicsContextWithNSView(targetView as NSViewMBS) as NSGraphicsMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Drawing | MBS MacCocoa Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Please make sure the graphics object is destroyed (Set to nil) so the drawings flush to the window.
Returns nil on any error.
NSGraphicsMBS.graphicsContextWithNSWindow(targetNSWindow as NSWindowMBS) as NSGraphicsMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Drawing | MBS MacCocoa Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns nil on any error.
NSGraphicsMBS.graphicsContextWithWindow(targetWindow as DesktopWindow) as NSGraphicsMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Drawing | MBS MacCocoa Plugin | 22.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns nil on any error.
See also:
NSGraphicsMBS.graphicsContextWithWindow(targetWindow as window) as NSGraphicsMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Drawing | MBS MacCocoa Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns nil on any error.
See also:
The items on this page are in the following plugins: MBS MacCocoa Plugin.