Methods
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
SetAlpha
- SetAlpha(theAlpha: number): void
SetValues
- SetValues(theRed: number, theGreen: number, theBlue: number, theAlpha: number): void
Parameters
theRed: number
theGreen: number
theBlue: number
theAlpha: number
Returns void
Static ColorFromHex
- ColorFromHex(theHexColorString: number, theColor: Quantity_ColorRGBA, theAlphaComponentIsOff: boolean): boolean
Parameters
theHexColorString: number
theAlphaComponentIsOff: boolean
Returns boolean
Static ColorFromName
Parameters
theColorNameString: string
Returns boolean
Static ColorToHex
Parameters
Returns XCAFDoc_PartId
Static Convert_LinearRGB_To_sRGB
- Convert_LinearRGB_To_sRGB(theRGB: NCollection_Vec4<float>): any
Parameters
theRGB: NCollection_Vec4<float>
Returns any
Static Convert_sRGB_To_LinearRGB
- Convert_sRGB_To_LinearRGB(theRGB: NCollection_Vec4<float>): any
Parameters
theRGB: NCollection_Vec4<float>
Returns any