Next: , Previous: fill, Up: Drawing commands


4.3 clip

 
void clip(picture pic=currentpicture, path g, pen fillrule=currentpen);

Clip the current contents of picture pic to the region bounded by the path g, using fill rule fillrule (see fillrule). For an illustration of picture clipping, see the first example in LaTeX usage.