up Inquisit Language Reference

borderWidth attribute

The borderWidth attribute specifies the width, in pixels, of the border around the shape.

Member of

<button> <clock> <picture> <shape> <text>

Syntax

/ borderWidth = width

or

/ borderWidth = expression

Parameters

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.

Remarks

The borderWidth attribute controls the width of the border around the shape. By default, the width is 0 (i.e. no border).

Examples

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>

Copyright Millisecond Software, LLC. All rights reserved.