다음을 통해 공유


NSView.LockFocusIfCanDrawInContext(NSGraphicsContext) 메서드

정의

[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

매개 변수

반환

특성

적용 대상