class library: GUI: use Pen class directly.