http://imagej.273.s1.nabble.com/Overlay-PointRoi-obstructs-image-tp5013265p5013269.html
> Hi,
> So I'm working with an image where I am placing a pointroi on top of it (as
> an overlay) to highlight points in the image.
>
> <
http://imagej.1557.x6.nabble.com/file/n5013265/img1.png>
>
> Roi pr = new PointRoi(xAxis,yAxis,xAxis.length);
> pr.setStrokeColor(Color.blue);
> pr.setStrokeWidth(1);
> Overlay overlay = new Overlay(pr);
> nImage.setOverlay(overlay);
>
> However, once placed on top, it seems to obstruct the original image, as you
> can now see there is a white background around the blue points.
>
> <
http://imagej.1557.x6.nabble.com/file/n5013265/img2.png>
>
> I can't work out what the problem is. I've tried making the overlay
> background transparent, the pointroi color different, but can't see any way
> to stop this happening.
>
> Thanks in advance if anyone knows what I'm doing wrong!
you can double-click the Point Tool and select a type without the white crosshairs, i.e. 'Dot' or 'Circle'. There you can also select the size and color of the marker.
If you want to set it in a macro or Java plugin, use Process>Macros>Record to see what the macro or Java code would look like.