Foxit PDF RDK

Public Member Functions | Public Attributes | List of all members
ShadingColor Class Reference
Inheritance diagram for ShadingColor:

## Public Member Functions
| constructor ()
| Constructor.
| constructor (firstcolor, secondcolor)
| Constructor, with parameters. More...
| Set (firstcolor, secondcolor)
| Set value. More...
Public Member Functions inherited from NativeObjectWrapper
| constructor (r)
| GetPointerAsNumber ()

## 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.

Examples
  /Users/ec2-user/gitlab-runner/builds/E-xKdhDo/0/foxit/sdk/mobile/gsdk-doc-auto-build/harmony_nodejs/input/Index.js.

## 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.