Foxit PDF SDK

Public Member Functions | List of all members
FoxitPDFSDKPython2.ColorState Class Reference
Inheritance diagram for FoxitPDFSDKPython2.ColorState:

## Public Member Functions
def | ColorState (other)
| Constructor, with another color state object. More...
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.

## Constructor & Destructor Documentation

## ◆ ColorState()

def FoxitPDFSDKPython2.ColorState.ColorState | ( |  | other | ) |

Constructor, with another color state object.

Parameters

  [in] | other | Another color state object.

## Member Function Documentation

## ◆ GetFillColor()

def FoxitPDFSDKPython2.ColorState.GetFillColor | ( |  | ) |

Get fill color.

Returns
  Fill color.

## ◆ GetStrokeColor()

def FoxitPDFSDKPython2.ColorState.GetStrokeColor | ( |  | ) |

Get stroke color.

Returns
  Stroke color.

## ◆ IsEmpty()

def FoxitPDFSDKPython2.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 FoxitPDFSDKPython2.ColorState.SetFillColor | ( |  | color | ) |

Set fill color.

Parameters

  [in] | color | A color to be set as fill color.

Returns
  None.

## ◆ SetStrokeColor()

def FoxitPDFSDKPython2.ColorState.SetStrokeColor | ( |  | color | ) |

Set stroke color.

Parameters

  [in] | color | A color to be set as stroke color.

Returns
  None.