Foxit PDF SDK
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]firstcolorFirst color used for shading color. Format: 0xAARRGGBB.
[in]secondcolorSecond color used for shading color. Format: 0xAARRGGBB.

◆ initWithShading_color:()

- (id) initWithShading_color: (FSShadingColor*)  shading_color

Constructor, with another shading color object.

Parameters
[in]shading_colorAnother shading color object.

◆ set:secondcolor:()

- (void) set: (unsigned int)  firstcolor
secondcolor: (unsigned int)  secondcolor 

Set value.

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