|
- \documentclass{standalone}
- \usepackage{tikz}
- \begin{document}
- \begin{tikzpicture}
- \shade[inner color=white,outer color=orange] (-1,1) circle (3.4);
- \end{tikzpicture}
- \end{document}
复制代码
尝试将以上的TikZ代码转换为Asymptote的RadialShade:
- size(100);
- radialshade(unitcircle,white,(0,0),0,orange,(0,0),1);
复制代码
输出HTML发现圆心不在(0,0),而是在(-1,0),为什么呢? |
|