Dashed rectangle

Informations

Author: Antoine Michéa
License: GPL

Description

Allows to draw a dashed rectangle. Parameters are:

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).