Foxit PDF SDK
FoxitPDFSDKPython2.ShadingColor Class Reference

Inherits FoxitPDFSDKPython2._object.

Public Member Functions

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 = _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 FoxitPDFSDKPython2.ShadingColor.ShadingColor (   shading_color)

Constructor, with another shading color object.

Parameters
[in]shading_colorAnother shading color object.

Member Function Documentation

◆ Set()

def FoxitPDFSDKPython2.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.