eVision C++ API 26.10.0-beta.2.dev
Loading...
Searching...
No Matches
eVision::ERGBColor Struct Reference

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

#include <eVision/Easy/ERGBColor.h>

Public Member Functions

 ERGBColor (int red, int green, int blue)
 Constructs an ERGBColor object.
 ERGBColor (int hexColor)
 Constructs an ERGBColor object.
 ERGBColor ()
 Constructs an ERGBColor object.

Public Attributes

int Red
 Red component.
int Green
 Green component.
int Blue
 Blue component.

Detailed Description

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

License(s): None

Constructor & Destructor Documentation

◆ ERGBColor() [1/3]

eVision::ERGBColor::ERGBColor ( int red,
int green,
int blue )

Constructs an ERGBColor object.

Parameters
redRed component.
greenGreen component.
blueBlue component.

◆ ERGBColor() [2/3]

eVision::ERGBColor::ERGBColor ( int hexColor)

Constructs an ERGBColor object.

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

◆ ERGBColor() [3/3]

eVision::ERGBColor::ERGBColor ( )

Constructs an ERGBColor object.

Member Data Documentation

◆ Blue

int eVision::ERGBColor::Blue

Blue component.

◆ Green

int eVision::ERGBColor::Green

Green component.

◆ Red

int eVision::ERGBColor::Red

Red component.