added createXY shortcuts to pattern objects