Name
page:GetRGBFill -- get current RGB filling color
Synopsis
t = page:GetRGBFill()
Function
page:GetRGBFill() returns the current value of the page's filling color. page:GetRGBFill() is valid only when the page's filling color space is #HPDF_CS_DEVICE_RGB.

This function returns a table with the following fields initialized:

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

All fields contain values between 0 and 1.

Inputs
none

Results
t
current RGB filling color

Show TOC