Name
  annot:SetRGBColor -- set RGB color
Synopsis

      status = annot:SetRGBColor(rgb)

Function
  This method is currently undocumented in libHaru. Complain to the libHaru authors.

  The `rgb` parameter must be a table with the following fields initialized:

  `R`
    Red level of color.
  `G`
    Green level of color.
  `B`
    Blue level of color.

  All values must be between 0 and 1.

  Returns `#HPDF_OK` on success. Otherwise, returns an error code and the error handler is invoked.

Inputs
  rgb
    RGB color
Results
  status
    status code

Show TOC