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

NTSC/PAL/SMPTE Red, Green, Blue color system. More...

Public Member Functions

None __init__ (self, int red, int green, int blue)
 Constructs an eVision.ERGBColor object.
None __init__ (self, int hexColor)
 Constructs an eVision.ERGBColor object.
None __init__ (self)
 Constructs an eVision.ERGBColor object.
None __init__ (self, int Red, int Green)
None __init__ (self, eVision.ERGBColor other)
int Red (self)
 Red component.
 Red (self, int value)
 Red component.
int Green (self)
 Green component.
 Green (self, int value)
 Green component.
int Blue (self)
 Blue component.
 Blue (self, int value)
 Blue component.

Detailed Description

NTSC/PAL/SMPTE Red, Green, Blue color system.

Remarks:

License(s): None

Constructor & Destructor Documentation

◆ __init__() [1/5]

None eVision.ERGBColor.__init__ ( self,
int red,
int green,
int blue )

Constructs an eVision.ERGBColor object.

Parameters
redRed component.
greenGreen component.
blueBlue component.

◆ __init__() [2/5]

None eVision.ERGBColor.__init__ ( self,
int hexColor )

Constructs an eVision.ERGBColor object.

Parameters
hexColorComponents defined as a hexadecimal color code (0xRRGGBB)

◆ __init__() [3/5]

None eVision.ERGBColor.__init__ ( self)

Constructs an eVision.ERGBColor object.

◆ __init__() [4/5]

None eVision.ERGBColor.__init__ ( self,
int Red,
int Green )
Parameters
RedRed component.
GreenGreen component.

◆ __init__() [5/5]

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

Member Function Documentation

◆ Blue() [1/2]

int eVision.ERGBColor.Blue ( self)

Blue component.

◆ Blue() [2/2]

eVision.ERGBColor.Blue ( self,
int value )

Blue component.

◆ Green() [1/2]

int eVision.ERGBColor.Green ( self)

Green component.

◆ Green() [2/2]

eVision.ERGBColor.Green ( self,
int value )

Green component.

◆ Red() [1/2]

int eVision.ERGBColor.Red ( self)

Red component.

◆ Red() [2/2]

eVision.ERGBColor.Red ( self,
int value )

Red component.