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

cis
  • 8,073
  • 1
  • 16
  • 45

1 Answers1

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}
cis
  • 8,073
  • 1
  • 16
  • 45