com.foxit.sdk.pdf.annots.ShadingColor Class Reference

Public Member Functions

 ShadingColor (long firstcolor, long secondcolor)
 Constructor, with parameters.
More...
 
 ShadingColor ()
 Constructor.

 
 ShadingColor (ShadingColor shading_color)
 Constructor, with another ShadingColor object.
More...
 
long getFirst_color ()
 Get first color used for shading. More...
 
long getSecond_color ()
 Get second color used for shading. More...
 
void set (long firstcolor, long secondcolor)
 Set value.
More...
 
void setFirst_color (long value)
 Set first color used for shading. More...
 
void setSecond_color (long value)
 Set second color used for shading. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ShadingColor() [1/2]

com.foxit.sdk.pdf.annots.ShadingColor.ShadingColor ( long  firstcolor,
long  secondcolor 
)

Constructor, with parameters.

Parameters
firstcolorFirst color used for shading color. Format: 0xAARRGGBB.
secondcolorSecond color used for shading color. Format: 0xAARRGGBB.

◆ ShadingColor() [2/2]

com.foxit.sdk.pdf.annots.ShadingColor.ShadingColor ( ShadingColor  shading_color)

Constructor, with another ShadingColor object.

Parameters
shading_colorAnother ShadingColor object.

Member Function Documentation

◆ getFirst_color()

com.foxit.sdk.pdf.annots.ShadingColor.getFirst_color ( )

Get first color used for shading.

Returns
First color used for shading. Format: 0xAARRGGBB.

◆ getSecond_color()

com.foxit.sdk.pdf.annots.ShadingColor.getSecond_color ( )

Get second color used for shading.

Returns
Second color used for shading. Format: 0xAARRGGBB.

◆ set()

void com.foxit.sdk.pdf.annots.ShadingColor.set ( long  firstcolor,
long  secondcolor 
)

Set value.

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

◆ setFirst_color()

com.foxit.sdk.pdf.annots.ShadingColor.setFirst_color ( long  value)

Set first color used for shading.

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

◆ setSecond_color()

com.foxit.sdk.pdf.annots.ShadingColor.setSecond_color ( long  value)

Set second color used for shading.

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

Foxit Software Corporation Logo
@2018 Foxit Software Incorporated. All rights reserved.