Dashed rectangle

Informations

Author: Antoine Michéa
License: GPL

Description

Allows to draw a dashed rectangle.

DashedRect(float x1, float y1, float x2, float y2 [, float width [, int nb]])

x1, y1: upper left corner of the rectangle.
x2, y2: lower right corner of the rectangle.
width: dash thickness (1 by default).
nb: number of dashes per line (15 by default).

Note: for a more complete support of dashes, see this script.