Function randomPoint

Returns a random point within a shape. shape can be CirclePositioned or RectPositioned