imageForBounds_textContainer_characterIndex_ property

ObjCProtocolMethod<NSImage? Function(CGRect, NSTextContainer?, DartNSUInteger)> imageForBounds_textContainer_characterIndex_
final

imageForBounds:textContainer:characterIndex:

Implementation

static final imageForBounds_textContainer_characterIndex_ =
    objc.ObjCProtocolMethod<
      NSImage? Function(objc.CGRect, NSTextContainer?, DartNSUInteger)
    >(
      _protocol_NSTextAttachmentContainer,
      _sel_imageForBounds_textContainer_characterIndex_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Pointer<objc.ObjCObject> Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                objc.CGRect,
                ffi.Pointer<objc.ObjCObject>,
                NSUInteger,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_qwb72h)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextAttachmentContainer,
        _sel_imageForBounds_textContainer_characterIndex_,
        isRequired: true,
        isInstanceMethod: true,
      ),
      (
        NSImage? Function(objc.CGRect, NSTextContainer?, DartNSUInteger) func,
      ) =>
          ObjCBlock_NSImage_ffiVoid_CGRect_NSTextContainer_NSUInteger.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              objc.CGRect arg1,
              NSTextContainer? arg2,
              DartNSUInteger arg3,
            ) => func(arg1, arg2, arg3),
          ),
    );