SemiCircle class found on Stackoverflow, thank you joe1327