Foxit PDF RDK

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

## Public Member Functions
| constructor ()
| Constructor.
| constructor (firstcolor, secondcolor)
| Constructor, with parameters. More...
| Set (firstcolor, secondcolor)
| Set value. More...

## Public Attributes
| first_color
| First color used for shading. Format: 0xAARRGGBB.
| second_color
| Second color used for shading. Format: 0xAARRGGBB.

## Detailed Description

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

## Member Function Documentation

## ◆ constructor()

ShadingColor.constructor | ( | 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.

## ◆ Set()

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.