status = annot:SetRGBColor(rgb)
The rgb
parameter must be a table with the following fields initialized:
R
G
B
All values must be between 0 and 1.
Returns #HPDF_OK
on success. Otherwise, returns an error code and the error handler is invoked.