QRColor Class Documentation

class QRColor

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

Construct with RGB values.

Member Function Documentation

get_blue

int get_blue()

Returns:

int

The blue component value.

Gets the blue component of the QR color.

get_green

int get_green()

Returns:

int

The green component value.

Gets the green component of the QR color.

get_red

int get_red()

Returns:

int

The red component value.

Gets the red component of the QR color.

set_blue

void set_blue(int blue)

Parameters

blue: int

The blue component value to set.

Returns:

void

Sets the blue component of the QR color.

set_green

void set_green(int green)

Parameters

green: int

The green component value to set.

Returns:

void

Sets the green component of the QR color.

set_red

void set_red(int red)

Parameters

red: int

The red component value to set.

Returns:

void

Sets the red component of the QR color.