C# Class Smartmobili.Cocoa.NSColor

Inheritance: NSObject
Datei anzeigen Open project: smartmobili/CocoaBuilder Class Usage Examples

Public Properties

Property Type Description
Class Class

Public Methods

Method Description
Alloc ( ) : NSColor
BlendedColorWithFraction ( double fraction, NSColor aColor ) : NSColor
ColorForControlTint ( NSControlTint controlTint ) : NSColor
ColorUsingColorSpace ( NSColorSpace space ) : NSColor
ColorUsingColorSpaceName ( NSString colorSpace ) : NSColor
ColorUsingColorSpaceName ( NSString colorSpace, NSDictionary deviceDescription ) : NSColor
ColorWithAlphaComponent ( double alpha ) : NSColor
ColorWithCalibratedHue ( double hue, double saturation, double brightness, double alpha ) : NSColor
ColorWithCalibratedRed ( double red, double green, double blue, double alpha ) : NSColor
ColorWithCalibratedWhite ( double white, double alpha ) : NSColor
ColorWithCatalogName ( NSString listName, NSString colorName ) : NSColor
ColorWithColorSpace ( NSColorSpace space, double comp, int number ) : NSColor
ColorWithDeviceCyan ( double cyan, double magenta, double yellow, double black, double alpha ) : NSColor
ColorWithDeviceHue ( double hue, double saturation, double brightness, double alpha ) : NSColor
ColorWithDeviceRed ( double red, double green, double blue, double alpha ) : NSColor
ColorWithDeviceWhite ( double white, double alpha ) : NSColor
ColorWithPatternImage ( NSImage image ) : NSColor
DrawSwatchInRect ( NSRect rect ) : void
EncodeWithCoder ( NSCoder aCoder ) : void
GetComponents ( double &components ) : void
GetCyanMagentaYellowBlackAlpha ( double &cyan, double &magenta, double &yellow, double &black, double &alpha ) : void
GetHueSaturationBrightnessAlpha ( double &hue, double &saturation, double &brightness, double &alpha ) : void
GetRedGreenBlueAlpha ( double &red, double &green, double &blue, double &alpha ) : void
GetWhiteAlpha ( double &white, double &alpha ) : void
Hash ( ) : uint
HighlightWithLevel ( double level ) : NSColor
InitSystemColors ( ) : void
InitWithCoder ( NSCoder aDecoder ) : id
Initialize ( ) : void
IsEqual ( id other ) : bool
Set ( ) : void
SetFill ( ) : void
SetStroke ( ) : void
ShadowWithLevel ( double level ) : NSColor
SystemColorWithName ( NSString name ) : NSColor
WriteToPasteboard ( NSPasteboard pasteBoard ) : void

Private Methods

Method Description
ColorFromString ( NSString str ) : NSColor
DefaultsDidChange ( NSNotification notification ) : void
NSColor ( ) : System
ThemeDidActivate ( NSNotification notification ) : void

Method Details

Alloc() public static method

public static Alloc ( ) : NSColor
return NSColor

BlendedColorWithFraction() public method

public BlendedColorWithFraction ( double fraction, NSColor aColor ) : NSColor
fraction double
aColor NSColor
return NSColor

ColorForControlTint() public static method

public static ColorForControlTint ( NSControlTint controlTint ) : NSColor
controlTint NSControlTint
return NSColor

ColorUsingColorSpace() public method

public ColorUsingColorSpace ( NSColorSpace space ) : NSColor
space NSColorSpace
return NSColor

ColorUsingColorSpaceName() public method

public ColorUsingColorSpaceName ( NSString colorSpace ) : NSColor
colorSpace NSString
return NSColor

ColorUsingColorSpaceName() public method

public ColorUsingColorSpaceName ( NSString colorSpace, NSDictionary deviceDescription ) : NSColor
colorSpace NSString
deviceDescription NSDictionary
return NSColor

ColorWithAlphaComponent() public method

public ColorWithAlphaComponent ( double alpha ) : NSColor
alpha double
return NSColor

ColorWithCalibratedHue() public static method

public static ColorWithCalibratedHue ( double hue, double saturation, double brightness, double alpha ) : NSColor
hue double
saturation double
brightness double
alpha double
return NSColor

ColorWithCalibratedRed() public static method

public static ColorWithCalibratedRed ( double red, double green, double blue, double alpha ) : NSColor
red double
green double
blue double
alpha double
return NSColor

ColorWithCalibratedWhite() public static method

public static ColorWithCalibratedWhite ( double white, double alpha ) : NSColor
white double
alpha double
return NSColor

ColorWithCatalogName() public static method

public static ColorWithCatalogName ( NSString listName, NSString colorName ) : NSColor
listName NSString
colorName NSString
return NSColor

ColorWithColorSpace() public static method

public static ColorWithColorSpace ( NSColorSpace space, double comp, int number ) : NSColor
space NSColorSpace
comp double
number int
return NSColor

ColorWithDeviceCyan() public static method

public static ColorWithDeviceCyan ( double cyan, double magenta, double yellow, double black, double alpha ) : NSColor
cyan double
magenta double
yellow double
black double
alpha double
return NSColor

ColorWithDeviceHue() public static method

public static ColorWithDeviceHue ( double hue, double saturation, double brightness, double alpha ) : NSColor
hue double
saturation double
brightness double
alpha double
return NSColor

ColorWithDeviceRed() public static method

public static ColorWithDeviceRed ( double red, double green, double blue, double alpha ) : NSColor
red double
green double
blue double
alpha double
return NSColor

ColorWithDeviceWhite() public static method

public static ColorWithDeviceWhite ( double white, double alpha ) : NSColor
white double
alpha double
return NSColor

ColorWithPatternImage() public static method

public static ColorWithPatternImage ( NSImage image ) : NSColor
image NSImage
return NSColor

DrawSwatchInRect() public method

public DrawSwatchInRect ( NSRect rect ) : void
rect NSRect
return void

EncodeWithCoder() public method

public EncodeWithCoder ( NSCoder aCoder ) : void
aCoder NSCoder
return void

GetComponents() public method

public GetComponents ( double &components ) : void
components double
return void

GetCyanMagentaYellowBlackAlpha() public method

public GetCyanMagentaYellowBlackAlpha ( double &cyan, double &magenta, double &yellow, double &black, double &alpha ) : void
cyan double
magenta double
yellow double
black double
alpha double
return void

GetHueSaturationBrightnessAlpha() public method

public GetHueSaturationBrightnessAlpha ( double &hue, double &saturation, double &brightness, double &alpha ) : void
hue double
saturation double
brightness double
alpha double
return void

GetRedGreenBlueAlpha() public method

public GetRedGreenBlueAlpha ( double &red, double &green, double &blue, double &alpha ) : void
red double
green double
blue double
alpha double
return void

GetWhiteAlpha() public method

public GetWhiteAlpha ( double &white, double &alpha ) : void
white double
alpha double
return void

Hash() public method

public Hash ( ) : uint
return uint

HighlightWithLevel() public method

public HighlightWithLevel ( double level ) : NSColor
level double
return NSColor

InitSystemColors() public static method

public static InitSystemColors ( ) : void
return void

InitWithCoder() public method

public InitWithCoder ( NSCoder aDecoder ) : id
aDecoder NSCoder
return id

Initialize() public static method

public static Initialize ( ) : void
return void

IsEqual() public method

public IsEqual ( id other ) : bool
other id
return bool

Set() public method

public Set ( ) : void
return void

SetFill() public method

public SetFill ( ) : void
return void

SetStroke() public method

public SetStroke ( ) : void
return void

ShadowWithLevel() public method

public ShadowWithLevel ( double level ) : NSColor
level double
return NSColor

SystemColorWithName() public static method

public static SystemColorWithName ( NSString name ) : NSColor
name NSString
return NSColor

WriteToPasteboard() public method

public WriteToPasteboard ( NSPasteboard pasteBoard ) : void
pasteBoard NSPasteboard
return void

Property Details

Class public_oe static_oe property

public static Class,Smartmobili.Cocoa Class
return Class