C# Class CascadeSharp.TKernel.Quantity.Quantity_Color

Exibir arquivo Open project: Oblikovati/CascadeSharp Class Usage Examples

Public Methods

Method Description
Argb2color ( int theARGB, Quantity_Color theColor ) : void
Blue ( ) : double
ChangeContrast ( double theDelta ) : void
ChangeIntensity ( double theDelta ) : void
Color2argb ( Quantity_Color theColor, int &theARGB ) : void
ColorFromHex ( string theHexColorString, Quantity_Color theColor ) : bool
ColorFromName ( string theColorNameString, Quantity_Color theColor ) : bool
ColorFromName ( string theName, Quantity_NameOfColor &theColor ) : bool
ColorToHex ( Quantity_Color theColor ) : TCollection_AsciiString
ColorToHex ( Quantity_Color theColor, bool theToP_refixHash ) : TCollection_AsciiString
Convert_LinearRGB_To_sRGB ( double theLinearValue ) : double
Convert_LinearRGB_To_sRGB ( float theLinearValue ) : float
Convert_LinearRGB_To_sRGB_approx22 ( float theLinearValue ) : float
Convert_sRGB_To_LinearRGB ( double thesRGBValue ) : double
Convert_sRGB_To_LinearRGB ( float thesRGBValue ) : float
Convert_sRGB_To_LinearRGB_approx22 ( float thesRGBValue ) : float
Delta ( Quantity_Color theColor, double &DC, double &DI ) : void
DeltaE2000 ( Quantity_Color theOther ) : double
Distance ( Quantity_Color theColor ) : double
Epsilon ( ) : double
Green ( ) : double
HlsRgb ( double theH, double theL, double theS, double &theR, double &theG, double &theB ) : void
Hue ( ) : double
IsDifferent ( Quantity_Color theOther ) : bool
IsEqual ( Quantity_Color theOther ) : bool
Light ( ) : double
Name ( ) : Quantity_NameOfColor
Name ( double theR, double theG, double theB ) : Quantity_NameOfColor
Quantity_Color ( ) : System
Quantity_Color ( Quantity_Color parameter1 ) : System
Quantity_Color ( Quantity_NameOfColor theName ) : System
Quantity_Color ( double theC1, double theC2, double theC3, Quantity_TypeOfColor theType ) : System
Red ( ) : double
RgbHls ( double theR, double theG, double theB, double &theH, double &theL, double &theS ) : void
Saturation ( ) : double
SetEpsilon ( double theEpsilon ) : void
SetValues ( Quantity_NameOfColor theName ) : void
SetValues ( double theC1, double theC2, double theC3, Quantity_TypeOfColor theType ) : void
SquareDistance ( Quantity_Color theColor ) : double
StringName ( Quantity_NameOfColor theColor ) : string
Values ( double &theC1, double &theC2, double &theC3, Quantity_TypeOfColor theType ) : void

Method Details

Argb2color() public method

public Argb2color ( int theARGB, Quantity_Color theColor ) : void
theARGB int
theColor Quantity_Color
return void

Blue() public method

public Blue ( ) : double
return double

ChangeContrast() public method

public ChangeContrast ( double theDelta ) : void
theDelta double
return void

ChangeIntensity() public method

public ChangeIntensity ( double theDelta ) : void
theDelta double
return void

Color2argb() public method

public Color2argb ( Quantity_Color theColor, int &theARGB ) : void
theColor Quantity_Color
theARGB int
return void

ColorFromHex() public method

public ColorFromHex ( string theHexColorString, Quantity_Color theColor ) : bool
theHexColorString string
theColor Quantity_Color
return bool

ColorFromName() public method

public ColorFromName ( string theColorNameString, Quantity_Color theColor ) : bool
theColorNameString string
theColor Quantity_Color
return bool

ColorFromName() public method

public ColorFromName ( string theName, Quantity_NameOfColor &theColor ) : bool
theName string
theColor Quantity_NameOfColor
return bool

ColorToHex() public method

public ColorToHex ( Quantity_Color theColor ) : TCollection_AsciiString
theColor Quantity_Color
return TCollection_AsciiString

ColorToHex() public method

public ColorToHex ( Quantity_Color theColor, bool theToP_refixHash ) : TCollection_AsciiString
theColor Quantity_Color
theToP_refixHash bool
return TCollection_AsciiString

Convert_LinearRGB_To_sRGB() public method

public Convert_LinearRGB_To_sRGB ( double theLinearValue ) : double
theLinearValue double
return double

Convert_LinearRGB_To_sRGB() public method

public Convert_LinearRGB_To_sRGB ( float theLinearValue ) : float
theLinearValue float
return float

Convert_LinearRGB_To_sRGB_approx22() public method

public Convert_LinearRGB_To_sRGB_approx22 ( float theLinearValue ) : float
theLinearValue float
return float

Convert_sRGB_To_LinearRGB() public method

public Convert_sRGB_To_LinearRGB ( double thesRGBValue ) : double
thesRGBValue double
return double

Convert_sRGB_To_LinearRGB() public method

public Convert_sRGB_To_LinearRGB ( float thesRGBValue ) : float
thesRGBValue float
return float

Convert_sRGB_To_LinearRGB_approx22() public method

public Convert_sRGB_To_LinearRGB_approx22 ( float thesRGBValue ) : float
thesRGBValue float
return float

Delta() public method

public Delta ( Quantity_Color theColor, double &DC, double &DI ) : void
theColor Quantity_Color
DC double
DI double
return void

DeltaE2000() public method

public DeltaE2000 ( Quantity_Color theOther ) : double
theOther Quantity_Color
return double

Distance() public method

public Distance ( Quantity_Color theColor ) : double
theColor Quantity_Color
return double

Epsilon() public method

public Epsilon ( ) : double
return double

Green() public method

public Green ( ) : double
return double

HlsRgb() public method

public HlsRgb ( double theH, double theL, double theS, double &theR, double &theG, double &theB ) : void
theH double
theL double
theS double
theR double
theG double
theB double
return void

Hue() public method

public Hue ( ) : double
return double

IsDifferent() public method

public IsDifferent ( Quantity_Color theOther ) : bool
theOther Quantity_Color
return bool

IsEqual() public method

public IsEqual ( Quantity_Color theOther ) : bool
theOther Quantity_Color
return bool

Light() public method

public Light ( ) : double
return double

Name() public method

public Name ( ) : Quantity_NameOfColor
return Quantity_NameOfColor

Name() public method

public Name ( double theR, double theG, double theB ) : Quantity_NameOfColor
theR double
theG double
theB double
return Quantity_NameOfColor

Quantity_Color() public method

public Quantity_Color ( ) : System
return System

Quantity_Color() public method

public Quantity_Color ( Quantity_Color parameter1 ) : System
parameter1 Quantity_Color
return System

Quantity_Color() public method

public Quantity_Color ( Quantity_NameOfColor theName ) : System
theName Quantity_NameOfColor
return System

Quantity_Color() public method

public Quantity_Color ( double theC1, double theC2, double theC3, Quantity_TypeOfColor theType ) : System
theC1 double
theC2 double
theC3 double
theType Quantity_TypeOfColor
return System

Red() public method

public Red ( ) : double
return double

RgbHls() public method

public RgbHls ( double theR, double theG, double theB, double &theH, double &theL, double &theS ) : void
theR double
theG double
theB double
theH double
theL double
theS double
return void

Saturation() public method

public Saturation ( ) : double
return double

SetEpsilon() public method

public SetEpsilon ( double theEpsilon ) : void
theEpsilon double
return void

SetValues() public method

public SetValues ( Quantity_NameOfColor theName ) : void
theName Quantity_NameOfColor
return void

SetValues() public method

public SetValues ( double theC1, double theC2, double theC3, Quantity_TypeOfColor theType ) : void
theC1 double
theC2 double
theC3 double
theType Quantity_TypeOfColor
return void

SquareDistance() public method

public SquareDistance ( Quantity_Color theColor ) : double
theColor Quantity_Color
return double

StringName() public method

public StringName ( Quantity_NameOfColor theColor ) : string
theColor Quantity_NameOfColor
return string

Values() public method

public Values ( double &theC1, double &theC2, double &theC3, Quantity_TypeOfColor theType ) : void
theC1 double
theC2 double
theC3 double
theType Quantity_TypeOfColor
return void