Foxit PDF SDK
9.1
|
Public Member Functions | |
void | setHorizontalHeight (int height) |
void | setVerticalWidth (int width) |
void | setBackgroundColor (int color) |
void | setBackgroundColor (int lightColor, int darkColor) |
The toolbar under the tab, the toolbar content of different tabs is also different, and this toolbar can be dragged on the pad.
void com.foxit.uiextensions.controls.toolbar.ITabActionToolbar.setBackgroundColor | ( | int | color | ) |
Sets the background color for the tab toolbar.
color | the color of the background. |
void com.foxit.uiextensions.controls.toolbar.ITabActionToolbar.setBackgroundColor | ( | int | lightColor, |
int | darkColor | ||
) |
Sets the background color for the tab toolbar. supporting both light and dark mode. This method allows different background colors to be set depending on whether the system is in light or dark mode.
lightColor | the background color to be used in light mode. |
darkColor | the background color to be used in dark mode. |
void com.foxit.uiextensions.controls.toolbar.ITabActionToolbar.setHorizontalHeight | ( | int | height | ) |
Set the height of toolbar when it is at the top or bottom of the screen (Minimum height: 48dip).
height | The height of toolbar when it is at the top or bottom of the screen, a fixed size in pixels. |
void com.foxit.uiextensions.controls.toolbar.ITabActionToolbar.setVerticalWidth | ( | int | width | ) |
Set the width of toolbar when it is at the left or right of the screen (Minimum width: 48dip).
width | The width of toolbar when it is at the left or right of the screen, a fixed size in pixels. |