Sets the color of the detected document boundaries. It is a value specifying the 32-bit RGBA. The default value is 0x5EB7E4FF.
iValue: the value to set, ranging from 0x00000000 to 0xFFFFFFFF.
true indicates success.
false indicates failure.
The byte-ordering of the 32-bit RGBA value is RRGGBBAA. RR represents red, GG represents green, BB represents blue, AA represents opacity, all ranging from 0 to 0xFF. For AA, 0 is transparent, 0xFF is non-transparent.
In browsers, opacity is from 0 to 1. We will transform it, so sometimes the value you get will be different from the value you set.
For non-HTML5 browsers like IE 6-9, any value larger than 0 for AA will be regarded as non-transparent.
DCSObject.videoviewer.setDocumentBoundaryColor(0xFFFF00FF); // Sets the color of the detected document boundary.