param rect rectangl param direct direct param offset param offset point perimet point point perimet rectangl rect direct direct north direct northeast direct northwest rect direct south direct southwest direct southeast rect rect height direct east direct west rect rect height direct northwest direct west direct southwest rect direct northeast direct east direct southeast rect rect width direct north direct south rect rect width point 