Foxit PDF SDK
FoxitPDFSDKPython3.ShadingColor Class Reference

Inherits FoxitPDFSDKPython3._object.

Public Member Functions

def ShadingColor (firstcolor, secondcolor)
 Constructor, with parameters. More...
 
def Set (firstcolor, secondcolor)
 Set value. More...
 

Static Public Attributes

 first_color = _swig_property(_fsdk.ShadingColor_first_color_get, _fsdk.ShadingColor_first_color_set)
 First color used for shading. Format: 0xAARRGGBB.
 
 second_color = _swig_property(_fsdk.ShadingColor_second_color_get, _fsdk.ShadingColor_second_color_set)
 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()

def FoxitPDFSDKPython3.ShadingColor.ShadingColor (   firstcolor,
  secondcolor 
)

Constructor, with parameters.

Constructor, with another shading color object.

Constructor.

Parameters
[in]firstcolorFirst color used for shading color. Format: 0xAARRGGBB.
[in]secondcolorSecond color used for shading color. Format: 0xAARRGGBB.
[in]shading_colorAnother shading color object.

Member Function Documentation

◆ Set()

def FoxitPDFSDKPython3.ShadingColor.Set (   firstcolor,
  secondcolor 
)

Set value.

Parameters
[in]firstcolorFirst color used for shading color. Format: 0xAARRGGBB.
[in]secondcolorSecond color used for shading color. Format: 0xAARRGGBB.
Returns
None.