tikz 常用命令总结

 

使用斜线填充区域,并绘制边界

\fill[pattern color=red, pattern=north west lines, opacity=0.4] (0,0) -- (0,1) -- (1,1);
\fill[pattern color=red, pattern=north west lines, opacity=0.4, draw] (0,0) -- (0,1) -- (1,1);
\filldraw[pattern color=red, pattern=north west lines, opacity=0.4] (0,0) -- (0,1) -- (1,1);

 

手册索引:

15.3.2 Graphic Parameters: Dash Pattern:线的样式

60 Pattern Library:填充样式

posted @ 2019-06-11 15:34  bloodmage  阅读(735)  评论(0编辑  收藏  举报