Thanks for choosing HCM
I will suggests you to keep the leg raised and not hang it. Go for the X-ray and consult your orthopedic doctor nearest to your place in your city/town immediately. Swelling may be due to internal bleeding
which was occurred due to the struck of ball, or due to local infection or inflammation, or due to fracture
You should not waste time and go for immediate consultation.