QRColor Class Documentation

classQRColor

Namespace: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: int
green: int
blue: 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: int

The blue component value to set.

Returns:

void

Sets the blue component of the QR color.

set_green

voidset_green(intgreen)

Parameters

green: int

The green component value to set.

Returns:

void

Sets the green component of the QR color.

set_red

voidset_red(intred)

Parameters

red: int

The red component value to set.

Returns:

void

Sets the red component of the QR color.