\tikz \fill[orange] (1ex,1ex) circle (1cm)
\tikz \draw (0,0) -- (2,0);
\begin{tikzpicture}
\draw[style=dashed] (2,.5) circle (0.5);
\draw[fill=green!50] (1,1)
ellipse (.5 and 1);
\draw[fill=blue] (0,0) rectangle (1,1);
\draw[style=thick]
(3,.5) -- +(30:1) arc(30:80:1) -- cycle;
\end{tikzpicture}
\begin{tikzpicture}
\path [draw, red] (0,0) -- (0,2) -- (2,0)--cycle;
\end{tikzpicture}
\begin{tikzpicture}
\draw [line width=1mm] (0,0) circle(0.5cm);
\draw [red, rotate=20](1.5,0) ellipse(0.5cm and 0.8cm);
\end{tikzpicture}
\begin{tikzpicture}
\path [draw,color=blue,fill=green!20!white] (0,0) -- (0,2) -- (2,0)--cycle;
\end{tikzpicture}
El comando \shade[opciones] (x1,y1) ... (xn,yn); se utiliza para dibujar formas con colores degradados.
\begin{tikzpicture}
\path[shade,draw] (1,1) -- (2,2)--(3,1)--cycle;
\end{tikzpicture}
\begin{tikzpicture}
\shade[left color=red] (1,1) -- (2,2)--(3,1)--cycle;
\end{tikzpicture}
\begin{tikzpicture}
\shade[top color=red, bottom color=black] (0,0) rectangle (2,1);
\end{tikzpicture}
\begin{tikzpicture}
\shade[draw,shading=radial, inner color=red] (0,0) rectangle (2,1);
\end{tikzpicture}
\begin{tikzpicture}
\filldraw [gray] (0,0) circle (2pt)
(1,1) circle (2pt)
(2,1) circle (2pt)
(2,0) circle (2pt);
\draw (0,0) .. controls (1,1) and (2,1) .. (2,0);
\end{tikzpicture}
Para rellenar, se usa el comando \fill [color] en lugar de \draw
\begin{tikzpicture}
\filldraw [gray] (0,0) circle (2pt)
(1,1) circle (2pt)
(2,1) circle (2pt)
(2,0) circle (2pt);
\fill[red] (0,0) .. controls (1,1) and (2,1) .. (2,0);
\end{tikzpicture}
\begin{tikzpicture}
\draw[very thick] (0,0) to [out=90,in=195] (2,1.5);
\end{tikzpicture}
\begin{tikzpicture}
\draw [<->,thick, cyan] (0,0) to [out=90,in=180] (1,1)
to [out=0,in=180] (2.5,0) to [out=0,in=-135] (4,1) ;
\end{tikzpicture}
\begin{tikzpicture}
\draw [help lines] (-0.5,-0.5) grid (2.5,2.5);
\path [draw, red] (0,0) -- (0,2) -- (2,0)--cycle;
\end{tikzpicture}
\begin{tikzpicture}
\draw[step=.5cm,color=gray, very thin] (-1.4,-1.4) grid (1.4,1.4);
\draw (-1.5,0) -- (1.5,0);
\draw (0,-1.5) -- (0,1.5);
\draw (0,0) circle (1cm);
\end{tikzpicture}
\begin{tikzpicture}
\draw[xstep=.5cm,ystep=1cm,color=gray, very thin] (-1.4,-1.4) grid (1.4,1.4);
\draw (-1.5,0) -- (1.5,0);
\draw (0,-1.5) -- (0,1.5);
\draw (0,0) circle (1cm);
\end{tikzpicture}
\begin{tikzpicture}
\draw [help lines] (-0.5,-0.5) grid (3,3);
\draw[thick,->] (0,0) -- (2.5,0);
\draw[thick,->] (0,0) -- (0,2.5);
\end{tikzpicture}