# HaruPage::getFillingColorSpace

(PECL haru:0.0.1)

HaruPage::getFillingColorSpace — Get the current filling color space

### Description

int HaruPage::getFillingColorSpace ( void )

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`

### Errors/Exceptions

Throws HaruException on error.