QRColor Class Documentation
class QRColorNamespace:datalogics_interface
Detailed Description
Used to control how the QR color is created.
Note: This class intentionally uses inline storage rather than the pimpl pattern because it is a trivial 3-member value type with no internal APDFL object to wrap.
Referenced by
Constructor & Destructor Documentation
QRColor
QRColor()Create a new QRColor object.
QRColor
QRColor(int red, int green, int blue)Parameters
red: intgreen: intblue: int
Construct with RGB values.
Member Function Documentation
get_blue
int get_blue()Returns:
intThe blue component value.
Gets the blue component of the QR color.
get_green
int get_green()Returns:
intThe green component value.
Gets the green component of the QR color.
get_red
int get_red()Returns:
intThe red component value.
Gets the red component of the QR color.
set_blue
void set_blue(int blue)Parameters
blue: intThe blue component value to set.
Returns:
voidSets the blue component of the QR color.
set_green
void set_green(int green)Parameters
green: intThe green component value to set.
Returns:
voidSets the green component of the QR color.
set_red
void set_red(int red)Parameters
red: intThe red component value to set.
Returns:
voidSets the red component of the QR color.