summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/doc/hatch.asy
blob: 126b5bec13ac033677a1592e22e0ee568e139888 (plain)
1
2
3
4
5
6
7
8
9
10
11
size(0,100);
import patterns;

add("hatch",hatch());
add("hatchback",hatch(NW));
add("crosshatch",crosshatch(3mm));

real s=1.25;
filldraw(unitsquare,pattern("hatch"));
filldraw(shift(s,0)*unitsquare,pattern("hatchback"));
filldraw(shift(2s,0)*unitsquare,pattern("crosshatch"));