GaugeObject.BorderStyle

Syntax

BorderStyle: PP.BorderStyle;

Description

The BorderStyle property determines style of element borders.

Example

To execute the example, the page must contain the Speedometer component named speed1 (see Example of Creating Hand Watch). Add to the page a button clicking which changes hand border:

<input TYPE="button" VALUE="setBorder" ONCLICK="setBorder()">
<script>
function setBorder()
{
	speed1.getScales(0).getArrows(0).setBorderStyle(PP.BorderStyle.dotted);
	speed1.getScales(0).getArrows(0).setBorderWidth(2);
	speed1.getScales(0).getArrows(0).paint();
}
</script>

After clicking the setBorder button, minute hand border is changed as follows:

See also:

GaugeObject