Shiny Language Reference

Language Reference > Panel Functions


getpaneltranspfactor

int getpaneltranspfactor();

 

 

Gets the amount of transparency of the display panel

GETPANELTRANSPFACTOR retrieves the transparency factor of the display pane. This is the partner to SETPANELTRANSPFACTOR.

 

Parameters

None

 

Return Value

The amount of transparency on a scale of 0 to 255, where 0 is transparent and 255 is opaque.

 

Example Code

// Get the panel transparency factor
int TranspFactor = getpaneltranspfactor();