Partager via


NSView.LockFocusIfCanDrawInContext(NSGraphicsContext) Méthode

Définition

[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

Paramètres

Retours

Attributs

S’applique à