## The `pensize' property

Alternative name: `pen`

Two-element integer vector

Valid for: Line, Rectangle, RoundRect, Arc

The line width in pixels is determined by the `pensize` property. It comprises two integers, representing the height and width of the imaginary 'pen' used to draw lines. The default is 1 1. For example, if you change the pen size for a rectangle like this:

          Win1.Rect.pensize„1 2

then the sides of the rectangle will be twice as thick as the top and bottom lines.

Note: Under Windows and Linux, the height and width of the pen cannot be set independently. You can specify either a single number or two numbers, but only the first is used. If you read the property, a two-element vector is returned but the two elements will be the same.

Topic: APLX Help : System Classes : Properties : pensize

[ Previous | Next | Contents | Index ]