summaryrefslogtreecommitdiff
path: root/info/asymptote-manual-zh-cn/src/latticeshading.asy
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/asymptote-manual-zh-cn/src/latticeshading.asy
Initial commit
Diffstat (limited to 'info/asymptote-manual-zh-cn/src/latticeshading.asy')
-rw-r--r--info/asymptote-manual-zh-cn/src/latticeshading.asy7
1 files changed, 7 insertions, 0 deletions
diff --git a/info/asymptote-manual-zh-cn/src/latticeshading.asy b/info/asymptote-manual-zh-cn/src/latticeshading.asy
new file mode 100644
index 0000000000..c6689fa72d
--- /dev/null
+++ b/info/asymptote-manual-zh-cn/src/latticeshading.asy
@@ -0,0 +1,7 @@
+size(200);
+
+pen[][] p={{white,grey,black},
+ {red,green,blue},
+ {cyan,magenta,yellow}};
+
+latticeshade(unitsquare,p);