Foxit PDF SDK
FSDK.ColorState Class Reference

Public Member Functions

 GetFillColor ()
 Get fill color. More...
 
 GetStrokeColor ()
 Get stroke color. More...
 
 IsEmpty ()
 Check whether current object is empty or not. More...
 
 SetFillColor (color)
 Set fill color. More...
 
 SetStrokeColor (color)
 Set stroke color. More...
 

Detailed Description

This class represents PDF color state.

Member Function Documentation

◆ GetFillColor()

FSDK.ColorState.GetFillColor ( )
inline

Get fill color.

Returns
Fill color.

◆ GetStrokeColor()

FSDK.ColorState.GetStrokeColor ( )
inline

Get stroke color.

Returns
Stroke color.

◆ IsEmpty()

FSDK.ColorState.IsEmpty ( )
inline

Check whether current object is empty or not.

When the current object is empty, that means current object is useless.

Returns
true means current object is empty, while false means not.

◆ SetFillColor()

FSDK.ColorState.SetFillColor (   color)
inline

Set fill color.

Parameters
[in]colorA color to be set as fill color.
Returns
None.

◆ SetStrokeColor()

FSDK.ColorState.SetStrokeColor (   color)
inline

Set stroke color.

Parameters
[in]colorA color to be set as stroke color.
Returns
None.