Foxit PDF SDK
fsdk.ShadingColor Class Reference

Public Member Functions

def GetFirst_color ()
 Get first color used for shading. More...
 
def GetSecond_color ()
 Get second color used for shading. More...
 
def Set (firstcolor, secondcolor)
 Set value. More...
 
def SetFirst_color (value)
 Set first color used for shading. More...
 
def SetSecond_color (value)
 Set second color used for shading. More...
 

Detailed Description

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

Member Function Documentation

◆ GetFirst_color()

fsdk.ShadingColor.GetFirst_color ( )

Get first color used for shading.

Returns
First color used for shading. Format: 0xAARRGGBB.

◆ GetSecond_color()

fsdk.ShadingColor.GetSecond_color ( )

Get second color used for shading.

Returns
Second color used for shading. Format: 0xAARRGGBB.

◆ Set()

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

◆ SetFirst_color()

fsdk.ShadingColor.SetFirst_color (   value)

Set first color used for shading.

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

◆ SetSecond_color()

fsdk.ShadingColor.SetSecond_color (   value)

Set second color used for shading.

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