Due to the way the API documentation is generated, there are several special style properties available on elements with borders which are not listed in the API documentation. This topic covers these properties.
For elements with borders, the borderAlpha style property can be used to specify the opacity of the border. Valid values range from 0.0 (fully transparent) to 1.0 (fully opaque). The default value is 1.0 (fully opaque).
For elements with a background color, the highlightStrength style property can be used to add a highlight bevel to the background color. This colored overlay fades from the top to the bottom, starting at the opacity specified by highlightStrength and finishing at 0 at the bottom. Valid values range from 0.0 (fully transparent at the top; no highlight visible) to 1.0 (fully opaque highlight at the top). The default value of 0.0 equates to no highlight being used. The color of the highlight defaults to white (#FFFFFF), but can be customized through the highlightColor property.
Here is an example of an element with a highlight on its background (highlightStrength is 0.4 in this example):
If a highlight has been enabled through the highlightStrength style property, the highlightColor property specifies the color of that highlight. The default value is #FFFFFF (white).