summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/asymptote-manual-zh-cn/src/axialshade.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/support/asymptote-manual-zh-cn/src/axialshade.asy')
-rw-r--r--Master/texmf-dist/doc/support/asymptote-manual-zh-cn/src/axialshade.asy5
1 files changed, 5 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/support/asymptote-manual-zh-cn/src/axialshade.asy b/Master/texmf-dist/doc/support/asymptote-manual-zh-cn/src/axialshade.asy
new file mode 100644
index 00000000000..26c04b976bb
--- /dev/null
+++ b/Master/texmf-dist/doc/support/asymptote-manual-zh-cn/src/axialshade.asy
@@ -0,0 +1,5 @@
+unitsize(1cm);
+path g = ellipse((0,0), 4, 1);
+axialshade(g, green, (-4,0), yellow, (4,0));
+axialshade(shift(0,-2.5)*g, stroke=true,
+ green+linewidth(2mm), (-4,0), yellow, (4,0));