I'm currently able to draw this image with the following code: Circles


And I want to fill parts of the outer circle, but it shouldn't overwrite the inner circle. Basically like this: Filled Circle

How could I do this with tkz-euclide or any other tikz library?

  • Please make your code compilable. Nov 16, 2020 at 17:13
  • 1
    is this what you want? \documentclass[tikz,border=5mm]{standalone} \begin{document} \begin{tikzpicture} \draw[gray!20] (-3,-3) grid[step=5mm] (3,3); \fill[cyan] (2,0) arc(0:90:2) --(0,1) arc(90:0:1)--cycle (-2,0) arc(180:270:2) --(0,-1) arc(270:180:1)--cycle; \draw[violet,thick] (0,0) circle(1) circle(2); \draw[blue] (-3,0)--(3,0) (0,-3)--(0,3); \end{tikzpicture} \end{document}
    – Black Mild
    Nov 16, 2020 at 18:20

1 Answer 1


I am not too familiar with tkz-euclide but with just TikZ it is very easy.

 \clip (0,-3) -| (-3,0) -| (3,3) -| cycle;
 \fill[gray,even odd rule] circle[radius=2] circle[radius=1];
\draw[red]  circle[radius=2] circle[radius=1];

enter image description here

  • this is perfect, thanks!
    – drblau
    Nov 16, 2020 at 17:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.