Foxit PDF SDK

Public Member Functions | Properties | List of all members
foxit.pdf.annots.ShadingColor Class Reference

Inherits SystemIDisposable.

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

## Properties
uint | first_color`[get, set]`
| First color used for shading. Format: 0xAARRGGBB.
uint | second_color`[get, 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() [1/2]

foxit.pdf.annots.ShadingColor.ShadingColor | ( | uint | firstcolor,
|  | uint | secondcolor
| ) |  |
| inline

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]

foxit.pdf.annots.ShadingColor.ShadingColor | ( | ShadingColor | shading_color | ) |
| inline

Constructor, with another shading color object.

Parameters

  [in] | shading_color | Another shading color object.

## Member Function Documentation

## ◆ Set()

void foxit.pdf.annots.ShadingColor.Set | ( | uint | firstcolor,
|  | uint | secondcolor
| ) |  |
| inline

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.