Colorizes a grayscale image.
Original signature is '- (void)colorizeByMappingGray:(CGFloat)midPoint toColor:(NSColor *)midPointColor blackMapping:(NSColor *)shadowColor whiteMapping:(NSColor *)lightColor'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void ColorizeByMappingGrayToColorBlackMappingWhiteMapping( CGFloat midPoint, NSColor midPointColor, NSColor shadowColor, NSColor lightColor )
Parameters
- midPoint (CGFloat)
- A float value representing the midpoint of the grayscale image.
- midPointColor (NSColor)
- A color object representing the midpoint of the color to map the image to.
- shadowColor (NSColor)
- A color object representing the black mapping to use for shadows.
- lightColor (NSColor)
- A color object representing the white mapping to be used in the image.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)