Magnetic properties studies of different shapes of patterned materials