Name
page:GetRGBStroke -- get RGB stroking color
Synopsis
t = page:GetRGBStroke()
Function
page:GetRGBStroke() returns the current value of the page's stroking color. page:GetRGBStroke() is valid only when the page's stroking 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 stroking color

Show TOC