'HitTest only for chape inside arc

Please help. I will hitTest to return true if i'm inside my custom shape in my Arc. How can i calculate Geometry for my arc so that i get true from hitTest ONLY if i'm clicking inside my chape of the arc. I stuck with this. enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source