graphicsContext property

NSGraphicsContext? get graphicsContext

graphicsContext

Implementation

NSGraphicsContext? get graphicsContext {
  objc.checkOsVersionInternal(
    'NSWindow.graphicsContext',
    iOS: (true, null),
    macOS: (false, (10, 0, 0)),
  );
  final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_graphicsContext);
  return _ret.address == 0
      ? null
      : NSGraphicsContext.castFromPointer(_ret, retain: true, release: true);
}