Foxit PDF SDK
fsdk.ColorState Class Reference

Public Member Functions

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

Detailed Description

This class represents PDF color state.

Member Function Documentation

◆ GetFillColor()

def fsdk.ColorState.GetFillColor ( )

Get fill color.

Returns
Fill color.

◆ GetStrokeColor()

def fsdk.ColorState.GetStrokeColor ( )

Get stroke color.

Returns
Stroke color.

◆ IsEmpty()

def fsdk.ColorState.IsEmpty ( )

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()

def fsdk.ColorState.SetFillColor (   color)

Set fill color.

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

◆ SetStrokeColor()

def fsdk.ColorState.SetStrokeColor (   color)

Set stroke color.

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