C# Class Cocoa.Color

Inheritance: Object
Mostra file Open project: mono/cocoa-sharp Class Usage Examples

Public Methods

Method Description
Color ( IntPtr native_object ) : System
DrawSwatchInRect ( Rect rect ) : void
FromHueSaturationBrightnessAlpha ( float hue, float saturation, float brightness, float alpha ) : Color
Set ( ) : void
SetFill ( ) : void
SetStroke ( ) : void
ToRGB ( ) : Color

Method Details

Color() public method

public Color ( IntPtr native_object ) : System
native_object System.IntPtr
return System

DrawSwatchInRect() public method

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

FromHueSaturationBrightnessAlpha() public static method

public static FromHueSaturationBrightnessAlpha ( float hue, float saturation, float brightness, float alpha ) : Color
hue float
saturation float
brightness float
alpha float
return Color

Set() public method

public Set ( ) : void
return void

SetFill() public method

public SetFill ( ) : void
return void

SetStroke() public method

public SetStroke ( ) : void
return void

ToRGB() public method

public ToRGB ( ) : Color
return Color