eVision Python API
Loading...
Searching...
No Matches
eVision.EColor Class Reference

Triple of floating-point numbers that encode a color in a given color system. More...

Public Member Functions

None __init__ (self)
 Constructor for eVision.EColor objects.
None __init__ (self, float c0, float c1, float c2)
 Constructor for eVision.EColor objects.
None __init__ (self, float C0)
None __init__ (self, float C0, float C1)
None __init__ (self, eVision.EColor other)
float C0 (self)
 First color component.
 C0 (self, float value)
 First color component.
float C1 (self)
 Second color component.
 C1 (self, float value)
 Second color component.
float C2 (self)
 Third color component.
 C2 (self, float value)
 Third color component.

Detailed Description

Triple of floating-point numbers that encode a color in a given color system.

Remarks:

License(s): None

Constructor & Destructor Documentation

◆ __init__() [1/5]

None eVision.EColor.__init__ ( self)

Constructor for eVision.EColor objects.

◆ __init__() [2/5]

None eVision.EColor.__init__ ( self,
float c0,
float c1,
float c2 )

Constructor for eVision.EColor objects.

Parameters
c0value for the first color component
c1value for the second color component
c2value for the third color component

◆ __init__() [3/5]

None eVision.EColor.__init__ ( self,
float C0 )
Parameters
C0First color component.

◆ __init__() [4/5]

None eVision.EColor.__init__ ( self,
float C0,
float C1 )
Parameters
C0First color component.
C1Second color component.

◆ __init__() [5/5]

None eVision.EColor.__init__ ( self,
eVision.EColor other )
Parameters
otherOther instance

Member Function Documentation

◆ C0() [1/2]

float eVision.EColor.C0 ( self)

First color component.

◆ C0() [2/2]

eVision.EColor.C0 ( self,
float value )

First color component.

◆ C1() [1/2]

float eVision.EColor.C1 ( self)

Second color component.

◆ C1() [2/2]

eVision.EColor.C1 ( self,
float value )

Second color component.

◆ C2() [1/2]

float eVision.EColor.C2 ( self)

Third color component.

◆ C2() [2/2]

eVision.EColor.C2 ( self,
float value )

Third color component.