
\psset{unit=.7cm}
\begin{tabular}{|c|c|c|c|} \hline 
\multicolumn{4}{|c|}{ \BS{}psframe[fillcolor=blue,\RDD{opacity}=0.7](-1,-1)(2,2)](-2,0)(2,0)} \\
\hline   
 
\begin{pspicture}(-2.5,-2.5)(2.5,2.5)
 \psframe[fillcolor=red](-2,-2)(1,1)
 \psframe[fillcolor=blue,opacity =0.7](-1,-1)(2,2)
\end{pspicture}
&
\begin{pspicture}(-2.5,-2.5)(2.5,2.5)
 \psframe[fillcolor=red](-2,-2)(1,1)
 \psframe[fillcolor=blue,opacity =0.5](-1,-1)(2,2)
\end{pspicture} 
&
\begin{pspicture}(-2.5,-2.5)(2.5,2.5)
 \psframe[fillcolor=red](-2,-2)(1,1)
 \psframe[fillcolor=blue,opacity =0.2](-1,-1)(2,2)
\end{pspicture}  
&
\begin{pspicture}(-2.5,-2.5)(2.5,2.5)
\psframe[fillcolor=red](-2,-2)(1,1)
\psframe[fillcolor=blue,opacity =0](-1,-1)(2,2)
   \end{pspicture}   \\ 
\hline opacity =0.7 & opacity =0.5  & opacity =0.2  & opacity =0 \\ 
\hline 
\end{tabular} 

 \bigskip
\begin{tabular}{|c|c|c|c|} \hline 
\multicolumn{4}{|c|}{ \BS{psline[linewidth=1cm,linecolor=blue,\RDD{strokeopacity} =0.7](2,-2)(-2,2)}} \\
\hline   
\begin{pspicture}(-2.5,-2.5)(2.5,2.5)
 \psline[linewidth=1cm,linecolor=red](-2,-2)(2,2)
 \psline[linewidth=1cm,linecolor=blue,strokeopacity =0.7](2,-2)(-2,2)
\end{pspicture} 
&
\begin{pspicture}(-2.5,-2.5)(2.5,2.5)
 \psline[linewidth=1cm,linecolor=red](-2,-2)(2,2)
 \psline[linewidth=1cm,linecolor=blue,strokeopacity =0.5](2,-2)(-2,2)
\end{pspicture} 
&
\begin{pspicture}(-2.5,-2.5)(2.5,2.5)
 \psline[linewidth=1cm,linecolor=red](-2,-2)(2,2)
 \psline[linewidth=1cm,linecolor=blue,strokeopacity =0.2](2,-2)(-2,2)
\end{pspicture} 
  
&
\begin{pspicture}(-2.5,-2.5)(2.5,2.5)
 \psline[linewidth=1cm,linecolor=red](-2,-2)(2,2)
 \psline[linewidth=1cm,linecolor=blue,strokeopacity =0](2,-2)(-2,2)
\end{pspicture}  
    \\ 
\hline strokeopacity =0.7 & strokeopacity =0.5  & strokeopacity =0.2  & strokeopacity =0 \\ 
\hline 
\end{tabular} 
\psset{unit=1cm}
