addToBuilder static method
void
addToBuilder(})
Adds the implementation of the NSViewLayerContentScaleDelegate protocol to an existing
objc.ObjCProtocolBuilder.
Note: You cannot call this method after you have called builder.build.
Implementation
static void addToBuilder(
objc.ObjCProtocolBuilder builder, {
bool Function(CALayer, DartCGFloat, NSWindow)?
layer_shouldInheritContentsScale_fromWindow_,
bool $keepIsolateAlive = true,
}) {
NSViewLayerContentScaleDelegate.layer_shouldInheritContentsScale_fromWindow_
.implement(builder, layer_shouldInheritContentsScale_fromWindow_);
builder.addProtocol($protocol);
}