Returns an NSCustomImageRep object initialized with the specified delegate information.
Original signature is '- (id)initWithDrawSelector:(SEL)aMethod delegate:(id)anObject'
Available in Mac OS X v10.0 and later.
- aMethod (IntPtr)
- The selector to call when it is time to draw the image. The method should take a single parameter of type id that represents the NSCustomImageRep object that initiated drawing. The method must draw the image starting at the point (0, 0) in the current coordinate system.
- anObject (Id)
- The delegate object that responds to the selector in aMethod.
An initialized NSCustomImageRep object, or nil if the object could not be initialized.
Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)