How to check if drawn shape is circle?

Hi,

Let’s say i have a simple app where on mouse move user draws a shape. What i am trying to accomplish is to detect if drawn shape is circle so was wondering what would be the best or easier way to do that?

I believe i should do some math based on every drawn point coordinates but i need a push in right direction from more experienced people around here so any advice would be appreciated :slight_smile:

Cheers