QRColor Class Documentation
classQRColorNamespace:datalogics_interface
Detailed Description
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(intred, intgreen, intblue)Parameters
red: intgreen: intblue: int
Construct with RGB values.
Member Function Documentation
get_blue
intget_blue()Returns:
The blue component value.Gets the blue component of the QR color.
get_green
intget_green()Returns:
The green component value.Gets the green component of the QR color.
get_red
intget_red()Returns:
The red component value.Gets the red component of the QR color.
set_blue
voidset_blue(intblue)Parameters
blue: intThe blue component value to set.
Returns:
voidSets the blue component of the QR color.
set_green
voidset_green(intgreen)Parameters
green: intThe green component value to set.
Returns:
voidSets the green component of the QR color.
set_red
voidset_red(intred)Parameters
red: intThe red component value to set.
Returns:
voidSets the red component of the QR color.