Foxit PDF SDK

Public Member Functions | Static Public Attributes | List of all members
FoxitPDFSDKPython2.ShadingColor Class Reference

Inherits FoxitPDFSDKPython2._object.

## Public Member Functions
def | ShadingColor (firstcolor, secondcolor)
| Constructor, with parameters. More...
def | ShadingColor ()
| Constructor.
def | ShadingColor (shading_color)
| Constructor, with another shading color object. More...
def | Set (firstcolor, secondcolor)
| Set value. More...

## Static Public Attributes
| first_color = _fsdk.ShadingColor_first_color
| First color used for shading. Format: 0xAARRGGBB.
| second_color = _fsdk.ShadingColor_second_color
| Second color used for shading. Format: 0xAARRGGBB.

## Detailed Description

This class represents shading color which is used for Type 2 (Axial) Shadings.

## Constructor & Destructor Documentation

## ◆ ShadingColor() [1/2]

def FoxitPDFSDKPython2.ShadingColor.ShadingColor | ( |  | firstcolor,
|  |  | secondcolor
| ) |  |

Constructor, with parameters.

Parameters

  [in] | firstcolor | First color used for shading color. Format: 0xAARRGGBB.
  [in] | secondcolor | Second color used for shading color. Format: 0xAARRGGBB.

## ◆ ShadingColor() [2/2]

def FoxitPDFSDKPython2.ShadingColor.ShadingColor | ( |  | shading_color | ) |

Constructor, with another shading color object.

Parameters

  [in] | shading_color | Another shading color object.

## Member Function Documentation

## ◆ Set()

def FoxitPDFSDKPython2.ShadingColor.Set | ( |  | firstcolor,
|  |  | secondcolor
| ) |  |

Set value.

Parameters

  [in] | firstcolor | First color used for shading color. Format: 0xAARRGGBB.
  [in] | secondcolor | Second color used for shading color. Format: 0xAARRGGBB.

Returns
  None.