Freigeben über


NSView.LockFocusIfCanDrawInContext(NSGraphicsContext) Methode

Definition

[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

Parameter

Gibt zurück

Attribute

Gilt für: