summaryrefslogtreecommitdiff
path: root/info/visualpstricks/Source/coul1.tex
diff options
context:
space:
mode:
Diffstat (limited to 'info/visualpstricks/Source/coul1.tex')
-rw-r--r--info/visualpstricks/Source/coul1.tex58
1 files changed, 58 insertions, 0 deletions
diff --git a/info/visualpstricks/Source/coul1.tex b/info/visualpstricks/Source/coul1.tex
new file mode 100644
index 0000000000..650a24275e
--- /dev/null
+++ b/info/visualpstricks/Source/coul1.tex
@@ -0,0 +1,58 @@
+
+\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}