Foxit PDF SDK
|
Public Member Functions | |
ColorState (const ColorState &other) | |
Constructor, with another color state object. More... | |
~ColorState () | |
Destructor. | |
common::Color | GetFillColor () |
Get fill color. More... | |
common::Color | GetStrokeColor () |
Get stroke color. More... | |
bool | IsEmpty () const |
Check whether current object is empty or not. More... | |
bool | operator!= (const ColorState &other) const |
Not equal operator. More... | |
ColorState & | operator= (const ColorState &other) |
Assign operator. More... | |
bool | operator== (const ColorState &other) const |
Equal operator. More... | |
void | SetFillColor (const common::Color &color) |
Set fill color. More... | |
void | SetStrokeColor (const common::Color &color) |
Set stroke color. More... | |
![]() | |
FS_HANDLE | Handle () const |
Get the handle of current object. More... | |
This class represents PDF color state.
foxit::pdf::graphics::ColorState::ColorState | ( | const ColorState & | other | ) |
Constructor, with another color state object.
[in] | other | Another color state object. |
common::Color foxit::pdf::graphics::ColorState::GetFillColor | ( | ) |
Get fill color.
common::Color foxit::pdf::graphics::ColorState::GetStrokeColor | ( | ) |
Get stroke color.
bool foxit::pdf::graphics::ColorState::IsEmpty | ( | ) | const |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
bool foxit::pdf::graphics::ColorState::operator!= | ( | const ColorState & | other | ) | const |
Not equal operator.
[in] | other | Another color state object. This function will check if current object is not equal to this one. |
ColorState& foxit::pdf::graphics::ColorState::operator= | ( | const ColorState & | other | ) |
Assign operator.
[in] | other | Another color state object, whose value would be assigned to current object. |
bool foxit::pdf::graphics::ColorState::operator== | ( | const ColorState & | other | ) | const |
Equal operator.
[in] | other | Another color state object. This function will check if current object is equal to this one. |
void foxit::pdf::graphics::ColorState::SetFillColor | ( | const common::Color & | color | ) |
Set fill color.
[in] | color | A color to be set as fill color. |
void foxit::pdf::graphics::ColorState::SetStrokeColor | ( | const common::Color & | color | ) |
Set stroke color.
[in] | color | A color to be set as stroke color. |