You can do this using the `Solid Region` tool.
See:
https://easyeda.com/Doc/Tutorial/PCB.htm#Solid-Region
Please also see:
https://easyeda.com/forum/topic/How_to_draw_unusual_square_hole_for_a_switch_like_on_the_photo_Is_it_posible_-Zb5ZhbsK2
Our website uses essential cookies to help us ensure that it is working as expected, and uses optional analytics cookies to offer you a better browsing experience. To find out more, read our Cookie Notice