A New Method of Thin Film Patterning for Electronic and Medical Devices