Creates and returns an NSColor object whose color is the same as the receiver’s, except that the new NSColor is in the given color space and is specific to the given device.
Original signature is '- (NSColor *)colorUsingColorSpaceName:(NSString *)colorSpace device:(NSDictionary *)deviceDescription'
Available in Mac OS X v10.0 and later.
|C#||Visual Basic||Visual C++|
public virtual NSColor ColorUsingColorSpaceNameDevice( NSString colorSpace, NSDictionary deviceDescription )
Public Overridable Function ColorUsingColorSpaceNameDevice ( _ colorSpace As NSString, _ deviceDescription As NSDictionary _ ) As NSColor
- colorSpace (NSString)
- The name of the color space containing the new NSColor object. If colorSpace is nil, the most appropriate color space is used.
- deviceDescription (NSDictionary)
- The device description. Device descriptions can be obtained from windows, screens, and printers with the deviceDescription method.
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)