Share via


INSLayerDelegateContentsScaleUpdating.ShouldInheritContentsScale Method

Definition

[Foundation.Export("layer:shouldInheritContentsScale:fromWindow:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldInheritContentsScale(CoreAnimation.CALayer layer, System.Runtime.InteropServices.NFloat newScale, AppKit.NSWindow fromWindow);
[<Foundation.Export("layer:shouldInheritContentsScale:fromWindow:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ShouldInheritContentsScale : CoreAnimation.CALayer * System.Runtime.InteropServices.NFloat * AppKit.NSWindow -> bool
override this.ShouldInheritContentsScale : CoreAnimation.CALayer * System.Runtime.InteropServices.NFloat * AppKit.NSWindow -> bool

Parameters

layer
CALayer
newScale
NFloat
fromWindow
NSWindow

Returns

Attributes

Applies to