PHP - Manual: HaruPage::getFillingColorSpace
2024-12-21
(PECL haru >= 0.0.1)
HaruPage::getFillingColorSpace — Get the current filling color space
Get the current filling color space.
此函数没有参数。
Returns the current filling color space. The result value is one of the following:
HaruDoc::CS_DEVICE_GRAY
HaruDoc::CS_DEVICE_RGB
HaruDoc::CS_DEVICE_CMYK
HaruDoc::CS_CAL_GRAY
HaruDoc::CS_CAL_RGB
HaruDoc::CS_LAB
HaruDoc::CS_ICC_BASED
HaruDoc::CS_SEPARATION
HaruDoc::CS_DEVICE_N
HaruDoc::CS_INDEXED
HaruDoc::CS_PATTERN
发生错误时抛出 HaruException 异常。
官方地址:https://www.php.net/manual/en/harupage.getfillingcolorspace.php