NSView.LockFocusIfCanDrawInContext(NSGraphicsContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("lockFocusIfCanDrawInContext:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.None, "Use 'NSView.DisplayRectIgnoringOpacity (CGRect, NSGraphicsContext)' to draw into a graphics context.")]
public virtual bool LockFocusIfCanDrawInContext (AppKit.NSGraphicsContext context);
abstract member LockFocusIfCanDrawInContext : AppKit.NSGraphicsContext -> bool
override this.LockFocusIfCanDrawInContext : AppKit.NSGraphicsContext -> bool
Parameters
- context
- NSGraphicsContext
Returns
- Attributes