0

How can I have a filled area like this:

enter image description here

With a curvy line. In the sense of: it continues here

\documentclass[margin=5pt, tikz]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[]
\filldraw[fill=cyan] (0,0) -- (250:2) arc (250:250+44:2) -- (0,0);
\end{tikzpicture}
\end{document}

enter image description here

2

I solved it with decorate

enter image description here

\documentclass[margin=5pt, tikz]{standalone}
\usepackage{tikz}
\usetikzlibrary {decorations.pathmorphing}
\begin{document}
\begin{tikzpicture}[
curvy/.style={
rounded corners=1pt, 
% 1. version
fill, decorate, decoration={zigzag, segment length=6mm, amplitude=0.75mm}, 
% 2. version
%fill, decorate, decoration={random steps, segment length=4mm, amplitude=3mm}, 
},
]
\filldraw[fill=cyan] (0,0) to (250:2) arc (250:250+44:2) decorate[curvy] {--(0,0)};
\end{tikzpicture}
\end{document}
| improve this answer | |

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.