Methods
ChangeContrast
- ChangeContrast(theDelta: number): void
ChangeIntensity
- ChangeIntensity(theDelta: number): void
DumpJson
- DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void
Parameters
theOStream: Standard_OStream
theDepth: Graphic3d_ZLayerId
Returns void
InitFromJson
- InitFromJson(theSStream: Standard_SStream, theStreamPos: Graphic3d_ZLayerId): boolean
Parameters
theSStream: Standard_SStream
theStreamPos: Graphic3d_ZLayerId
Returns boolean
IsDifferent
Parameters
Returns boolean
IsEqual
Parameters
Returns boolean
SetValues_2
Parameters
theC1: number
theC2: number
theC3: number
Returns void
Values
Parameters
theC1: number
theC2: number
theC3: number
Returns void
Static Argb2color
- Argb2color(theARGB: Graphic3d_ZLayerId, theColor: Quantity_Color): void
Parameters
theARGB: Graphic3d_ZLayerId
Returns void
Static Color2argb
- Color2argb(theColor: Quantity_Color, theARGB: Graphic3d_ZLayerId): void
Parameters
theARGB: Graphic3d_ZLayerId
Returns void
Static ColorFromHex
- ColorFromHex(theHexColorString: string, theColor: Quantity_Color): boolean
Parameters
theHexColorString: string
Returns boolean
Static ColorFromName_1
Parameters
Returns boolean
Static ColorFromName_2
- ColorFromName_2(theColorNameString: string, theColor: Quantity_Color): boolean
Parameters
theColorNameString: string
Returns boolean
Static ColorToHex
- ColorToHex(theColor: Quantity_Color, theToPrefixHash: boolean): XCAFDoc_PartId
Parameters
Returns XCAFDoc_PartId
Static Convert_HLS_To_LinearRGB
- Convert_HLS_To_LinearRGB(theHls: NCollection_Vec3<float>): any
Parameters
theHls: NCollection_Vec3<float>
Returns any
Static Convert_HLS_To_sRGB
- Convert_HLS_To_sRGB(theHls: NCollection_Vec3<float>): any
Parameters
theHls: NCollection_Vec3<float>
Returns any
Static Convert_Lab_To_Lch
- Convert_Lab_To_Lch(theLab: NCollection_Vec3<float>): any
Parameters
theLab: NCollection_Vec3<float>
Returns any
Static Convert_Lab_To_LinearRGB
- Convert_Lab_To_LinearRGB(theLab: NCollection_Vec3<float>): any
Parameters
theLab: NCollection_Vec3<float>
Returns any
Static Convert_Lch_To_Lab
- Convert_Lch_To_Lab(theLch: NCollection_Vec3<float>): any
Parameters
theLch: NCollection_Vec3<float>
Returns any
Static Convert_LinearRGB_To_HLS
- Convert_LinearRGB_To_HLS(theRgb: NCollection_Vec3<float>): any
Parameters
theRgb: NCollection_Vec3<float>
Returns any
Static Convert_LinearRGB_To_Lab
- Convert_LinearRGB_To_Lab(theRgb: NCollection_Vec3<float>): any
Parameters
theRgb: NCollection_Vec3<float>
Returns any
Static Convert_LinearRGB_To_sRGB_1
- Convert_LinearRGB_To_sRGB_1(theLinearValue: number): number
Static Convert_LinearRGB_To_sRGB_2
- Convert_LinearRGB_To_sRGB_2(theLinearValue: number): number
Static Convert_LinearRGB_To_sRGB_approx22_1
- Convert_LinearRGB_To_sRGB_approx22_1(theLinearValue: number): number
Static Convert_LinearRGB_To_sRGB_approx22_2
- Convert_LinearRGB_To_sRGB_approx22_2(theRGB: NCollection_Vec3<float>): any
Parameters
theRGB: NCollection_Vec3<float>
Returns any
Static Convert_sRGB_To_HLS
- Convert_sRGB_To_HLS(theRgb: NCollection_Vec3<float>): any
Parameters
theRgb: NCollection_Vec3<float>
Returns any
Static Convert_sRGB_To_LinearRGB_1
- Convert_sRGB_To_LinearRGB_1(thesRGBValue: number): number
Static Convert_sRGB_To_LinearRGB_2
- Convert_sRGB_To_LinearRGB_2(thesRGBValue: number): number
Static Convert_sRGB_To_LinearRGB_approx22_1
- Convert_sRGB_To_LinearRGB_approx22_1(thesRGBValue: number): number
Static Convert_sRGB_To_LinearRGB_approx22_2
- Convert_sRGB_To_LinearRGB_approx22_2(theRGB: NCollection_Vec3<float>): any
Parameters
theRGB: NCollection_Vec3<float>
Returns any
Static HlsRgb
- HlsRgb(theH: number, theL: number, theS: number, theR: number, theG: number, theB: number): void
Parameters
theH: number
theL: number
theS: number
theR: number
theG: number
theB: number
Returns void
Static Name_2
Parameters
theR: number
theG: number
theB: number
Static RgbHls
- RgbHls(theR: number, theG: number, theB: number, theH: number, theL: number, theS: number): void
Parameters
theR: number
theG: number
theB: number
theH: number
theL: number
theS: number
Returns void
Static SetEpsilon
- SetEpsilon(theEpsilon: number): void