C# Class CascadeSharp.TKernel.Quantity.Quantity_Color

Afficher le fichier Open project: Oblikovati/CascadeSharp Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public Argb2color ( int theARGB, Quantity_Color theColor ) : void
theARGB int
theColor Quantity_Color
Résultat void

Blue() public méthode

public Blue ( ) : double
Résultat double

ChangeContrast() public méthode

public ChangeContrast ( double theDelta ) : void
theDelta double
Résultat void

ChangeIntensity() public méthode

public ChangeIntensity ( double theDelta ) : void
theDelta double
Résultat void

Color2argb() public méthode

public Color2argb ( Quantity_Color theColor, int &theARGB ) : void
theColor Quantity_Color
theARGB int
Résultat void

ColorFromHex() public méthode

public ColorFromHex ( string theHexColorString, Quantity_Color theColor ) : bool
theHexColorString string
theColor Quantity_Color
Résultat bool

ColorFromName() public méthode

public ColorFromName ( string theColorNameString, Quantity_Color theColor ) : bool
theColorNameString string
theColor Quantity_Color
Résultat bool

ColorFromName() public méthode

public ColorFromName ( string theName, Quantity_NameOfColor &theColor ) : bool
theName string
theColor Quantity_NameOfColor
Résultat bool

ColorToHex() public méthode

public ColorToHex ( Quantity_Color theColor ) : TCollection_AsciiString
theColor Quantity_Color
Résultat TCollection_AsciiString

ColorToHex() public méthode

public ColorToHex ( Quantity_Color theColor, bool theToP_refixHash ) : TCollection_AsciiString
theColor Quantity_Color
theToP_refixHash bool
Résultat TCollection_AsciiString

Convert_LinearRGB_To_sRGB() public méthode

public Convert_LinearRGB_To_sRGB ( double theLinearValue ) : double
theLinearValue double
Résultat double

Convert_LinearRGB_To_sRGB() public méthode

public Convert_LinearRGB_To_sRGB ( float theLinearValue ) : float
theLinearValue float
Résultat float

Convert_LinearRGB_To_sRGB_approx22() public méthode

public Convert_LinearRGB_To_sRGB_approx22 ( float theLinearValue ) : float
theLinearValue float
Résultat float

Convert_sRGB_To_LinearRGB() public méthode

public Convert_sRGB_To_LinearRGB ( double thesRGBValue ) : double
thesRGBValue double
Résultat double

Convert_sRGB_To_LinearRGB() public méthode

public Convert_sRGB_To_LinearRGB ( float thesRGBValue ) : float
thesRGBValue float
Résultat float

Convert_sRGB_To_LinearRGB_approx22() public méthode

public Convert_sRGB_To_LinearRGB_approx22 ( float thesRGBValue ) : float
thesRGBValue float
Résultat float

Delta() public méthode

public Delta ( Quantity_Color theColor, double &DC, double &DI ) : void
theColor Quantity_Color
DC double
DI double
Résultat void

DeltaE2000() public méthode

public DeltaE2000 ( Quantity_Color theOther ) : double
theOther Quantity_Color
Résultat double

Distance() public méthode

public Distance ( Quantity_Color theColor ) : double
theColor Quantity_Color
Résultat double

Epsilon() public méthode

public Epsilon ( ) : double
Résultat double

Green() public méthode

public Green ( ) : double
Résultat double

HlsRgb() public méthode

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
Résultat void

Hue() public méthode

public Hue ( ) : double
Résultat double

IsDifferent() public méthode

public IsDifferent ( Quantity_Color theOther ) : bool
theOther Quantity_Color
Résultat bool

IsEqual() public méthode

public IsEqual ( Quantity_Color theOther ) : bool
theOther Quantity_Color
Résultat bool

Light() public méthode

public Light ( ) : double
Résultat double

Name() public méthode

public Name ( ) : Quantity_NameOfColor
Résultat Quantity_NameOfColor

Name() public méthode

public Name ( double theR, double theG, double theB ) : Quantity_NameOfColor
theR double
theG double
theB double
Résultat Quantity_NameOfColor

Quantity_Color() public méthode

public Quantity_Color ( ) : System
Résultat System

Quantity_Color() public méthode

public Quantity_Color ( Quantity_Color parameter1 ) : System
parameter1 Quantity_Color
Résultat System

Quantity_Color() public méthode

public Quantity_Color ( Quantity_NameOfColor theName ) : System
theName Quantity_NameOfColor
Résultat System

Quantity_Color() public méthode

public Quantity_Color ( double theC1, double theC2, double theC3, Quantity_TypeOfColor theType ) : System
theC1 double
theC2 double
theC3 double
theType Quantity_TypeOfColor
Résultat System

Red() public méthode

public Red ( ) : double
Résultat double

RgbHls() public méthode

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
Résultat void

Saturation() public méthode

public Saturation ( ) : double
Résultat double

SetEpsilon() public méthode

public SetEpsilon ( double theEpsilon ) : void
theEpsilon double
Résultat void

SetValues() public méthode

public SetValues ( Quantity_NameOfColor theName ) : void
theName Quantity_NameOfColor
Résultat void

SetValues() public méthode

public SetValues ( double theC1, double theC2, double theC3, Quantity_TypeOfColor theType ) : void
theC1 double
theC2 double
theC3 double
theType Quantity_TypeOfColor
Résultat void

SquareDistance() public méthode

public SquareDistance ( Quantity_Color theColor ) : double
theColor Quantity_Color
Résultat double

StringName() public méthode

public StringName ( Quantity_NameOfColor theColor ) : string
theColor Quantity_NameOfColor
Résultat string

Values() public méthode

public Values ( double &theC1, double &theC2, double &theC3, Quantity_TypeOfColor theType ) : void
theC1 double
theC2 double
theC3 double
theType Quantity_TypeOfColor
Résultat void