Foxit PDF SDK
|
Public Member Functions | |
ShadingColor (long firstcolor, long secondcolor) | |
Constructor, with parameters. More... | |
ShadingColor () | |
Constructor. | |
ShadingColor (ShadingColor shading_color) | |
Constructor, with another shading color object. More... | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
long | getFirst_color () |
Get first color used for shading. More... | |
long | getSecond_color () |
Get second color used for shading. More... | |
void | set (long firstcolor, long secondcolor) |
Set value. More... | |
void | setFirst_color (long value) |
Set first color used for shading. More... | |
void | setSecond_color (long value) |
Set second color used for shading. More... | |
This class represents shading color which is used for Type 2 (Axial) Shadings.
com.foxit.sdk.pdf.annots.ShadingColor.ShadingColor | ( | long | firstcolor, |
long | secondcolor | ||
) |
Constructor, with parameters.
[in] | firstcolor | First color used for shading color. Format: 0xAARRGGBB. |
[in] | secondcolor | Second color used for shading color. Format: 0xAARRGGBB. |
com.foxit.sdk.pdf.annots.ShadingColor.ShadingColor | ( | ShadingColor | shading_color | ) |
Constructor, with another shading color object.
[in] | shading_color | Another shading color object. |
synchronized void com.foxit.sdk.pdf.annots.ShadingColor.delete | ( | ) |
Clean up related resources immediately.
com.foxit.sdk.pdf.annots.ShadingColor.getFirst_color | ( | ) |
Get first color used for shading.
com.foxit.sdk.pdf.annots.ShadingColor.getSecond_color | ( | ) |
Get second color used for shading.
void com.foxit.sdk.pdf.annots.ShadingColor.set | ( | long | firstcolor, |
long | secondcolor | ||
) |
Set value.
[in] | firstcolor | First color used for shading color. Format: 0xAARRGGBB. |
[in] | secondcolor | Second color used for shading color. Format: 0xAARRGGBB. |
com.foxit.sdk.pdf.annots.ShadingColor.setFirst_color | ( | long | value | ) |
Set first color used for shading.
[in] | value | First color used for shading. Format: 0xAARRGGBB. |
com.foxit.sdk.pdf.annots.ShadingColor.setSecond_color | ( | long | value | ) |
Set second color used for shading.
[in] | value | Second color used for shading. Format: 0xAARRGGBB. |