Historique des modifications [retour]
cliquez ici pour masquer/afficher la révision 3

15 Déc '20, 09:32

nmarkey's gravatar image

nmarkey
1.4k29

Avec `transparency group=knockout` (cf. section 23.5 du pgfmanual) : dans un tel group, `opacity=0` veut dire "transparent" (à l'intérieur de ce group). Par exemple : \begin{tikzpicture} \filldraw[yellow] (0,0) rectangle (4,4); \begin{scope}[transparency group=knockout] \filldraw[blue, rounded corners, even odd rule] (0, 0) rectangle (3, 3) (1, 1) rectangle (2, 2) ; \filldraw[opacity=0] (0, 0) -- (0, 1) -- (1, 0) -- cycle ; \end{scope} \end{tikzpicture} ![alt text][1] [1]: http://https://texnique.fr/osqa/upfiles/xpdf.png
cliquez ici pour masquer/afficher la révision 2
image

15 Déc '20, 09:30

nmarkey's gravatar image

nmarkey
1.4k29

Avec `transparency group=knockout` (cf. section 23.5 du pgfmanual) : dans un tel group, `opacity=0` veut dire "transparent" (à l'intérieur de ce group). Par exemple : \begin{tikzpicture} \filldraw[yellow] (0,0) rectangle (4,4); \begin{scope}[transparency group=knockout] \filldraw[blue, rounded corners, even odd rule] (0, 0) rectangle (3, 3) (1, 1) rectangle (2, 2) ; \filldraw[opacity=0] (0, 0) -- (0, 1) -- (1, 0) -- cycle ; \end{scope} \end{tikzpicture} ![alt text][1] [1]: http://
cliquez ici pour masquer/afficher la révision 1

14 Déc '20, 22:05

nmarkey's gravatar image

nmarkey
1.4k29

C'est votre première visite ici ? Consultez la FAQ !

×