Foxit PDF SDK
|
Public Member Functions | |
ColorState (ColorState other) | |
Constructor, with another color state object. More... | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
Color | getFillColor () |
Get fill color. More... | |
Color | getStrokeColor () |
Get stroke color. More... | |
boolean | isEmpty () |
Check whether current object is empty or not. More... | |
void | setFillColor (Color color) |
Set fill color. More... | |
void | setStrokeColor (Color color) |
Set stroke color. More... | |
![]() | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
This class represents PDF color state.
com.foxit.sdk.pdf.graphics.ColorState.ColorState | ( | ColorState | other | ) |
Constructor, with another color state object.
[in] | other | Another color state object. |
synchronized void com.foxit.sdk.pdf.graphics.ColorState.delete | ( | ) |
Clean up related resources immediately.
Color com.foxit.sdk.pdf.graphics.ColorState.getFillColor | ( | ) |
Get fill color.
Color com.foxit.sdk.pdf.graphics.ColorState.getStrokeColor | ( | ) |
Get stroke color.
boolean com.foxit.sdk.pdf.graphics.ColorState.isEmpty | ( | ) |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
void com.foxit.sdk.pdf.graphics.ColorState.setFillColor | ( | Color | color | ) |
Set fill color.
[in] | color | A color to be set as fill color. |
void com.foxit.sdk.pdf.graphics.ColorState.setStrokeColor | ( | Color | color | ) |
Set stroke color.
[in] | color | A color to be set as stroke color. |