summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/transparency.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/transparency.asy')
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/transparency.asy10
1 files changed, 10 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/transparency.asy b/Master/texmf-dist/doc/asymptote/examples/transparency.asy
new file mode 100644
index 00000000000..36e741d294d
--- /dev/null
+++ b/Master/texmf-dist/doc/asymptote/examples/transparency.asy
@@ -0,0 +1,10 @@
+size(0,150);
+
+if(settings.outformat == "")
+ settings.outformat="pdf";
+
+begingroup();
+fill(shift(1.5dir(120))*unitcircle,green+opacity(0.75));
+fill(shift(1.5dir(60))*unitcircle,red+opacity(0.75));
+fill(unitcircle,blue+opacity(0.75));
+endgroup();