The borderWidth attribute specifies the width, in pixels, of the border around the shape.
or
/ borderWidth = expression| Name | Type | Description | 
|---|---|---|
| width | extent | A number specifying the width of border around the shape in pixels (default), percent, or points. | 
| expression | value | An expression specifying the width of the border around the shape in pixels (default), percent, or points. | 
The borderWidth attribute controls the width of the border around the shape. By default, the width is 0 (i.e. no border).
The following defines a blue square with a 1 pixel red border:
<shape blueSquare>
/ shape = rectangle
/ size = (100, 100)
/ color = (0, 0, 255)
/ borderColor = (255, 0, 0)
/ borderWidth = 1
</shape>The following defines a grey circle with a 2 pixel green border:
<shape greyCircle>
/ shape = circle
/ color = grey
/ borderColor = green
/ borderWidth = 1
</shape>