Addition of option to make pattern invisible.