# What parameter is available to remove the thin border around \ncput*?

The objective is to make the background color of the box containing the label transparent.

\documentclass[pstricks]{standalone}
\usepackage{pst-eucl}

\begin{document}
\begin{pspicture}[showgrid=false](4,4)
\pstGeonode[PosAngle={90}]
(1,1){A}
(3,3){B}
\ncarc[arcangle=-30,linestyle=dashed,linecolor=gray]{A}{B}
\ncput*[nrot=:0]{$2\sqrt2$}
\end{pspicture}
\end{document}


I use -transparent white when invoking ImageMagick's convert. Unfortunately there is still a thin yet visible border around the box as follows. Is there any option to remove such an unwanted border?

This question is my attempt to solve my other question here.

-
Can you see the white thin border? –  kiss my armpit Jun 8 '13 at 8:27
The existence of this defect really disturbs my mind much. –  kiss my armpit Jun 8 '13 at 9:29
I can't see the rectangle with my previewers: TeXWorks, Adobe, Mac Preview. –  Marco Daniel Jun 8 '13 at 10:28
@MarcoDaniel: Of course you cannot see it in PDF viewers as I am talking about the PNG output. –  kiss my armpit Jun 8 '13 at 10:38
What options do you use to convert the DVI to PNG with ImageMagick? It always turns out really small and unreadable for me. –  Jake Jun 8 '13 at 12:03

The solution is to add a background to the image that has the same colour as the box:

\documentclass[pstricks]{standalone}
\usepackage{pst-eucl}

\begin{document}
\begin{pspicture}[showgrid=false](4,4)
\psframe*[linecolor=white](4,4)
\pstGeonode[PosAngle={90}]
(1,1){A}
(3,3){B}
\ncarc[arcangle=-30,linestyle=dashed,linecolor=gray]{A}{B}
\ncput*[nrot=:0]{$2\sqrt2$}
\end{pspicture}
\end{document}

-