Foxit PDF SDK

Instance Methods | Properties | List of all members
FSShadingColor Class Reference

Inherits NSObject.

## Instance Methods
(id) | - init
| Constructor.
(id) | - initWithFirstcolor:secondcolor:
| Constructor, with parameters. More...
(id) | - initWithShading_color:
| Constructor, with another shading color object. More...
(void) | - set:secondcolor:
| Set value. More...

## Properties
unsigned int | first_color
| First color used for shading. Format: 0xAARRGGBB.
unsigned int | second_color
| Second color used for shading. Format: 0xAARRGGBB.

## Detailed Description

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

## Method Documentation

## ◆ initWithFirstcolor:secondcolor:()

- (id) initWithFirstcolor: |  | (unsigned int) | firstcolor
secondcolor: |  | (unsigned int) | 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.

## ◆ initWithShading_color:()

- (id) initWithShading_color: |  | (FSShadingColor*) | shading_color |

Constructor, with another shading color object.

Parameters

  [in] | shading_color | Another shading color object.

## ◆ set:secondcolor:()

- (void) set: |  | (unsigned int) | firstcolor
secondcolor: |  | (unsigned int) | 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.