tikz.dev / TikZpingus Manual

The TikZpingus package

Extras

A.3.15 The rounded glasses

/pingu/glasses round = ⟨color⟩(default: pingu@black)

Behaves equivalent to /pingu/glasses but produces a round counterpart:

Compiled output

\begin{tikzpicture}
\pingu[glasses round=green]
\end{tikzpicture}

/pingu/glasses round left fill = ⟨color⟩(default: !hide)

Requires glasses round.

Sets the fill color of the left glass. The opacity is determined by /pingu/glasses round left opacity.

Compiled output

\begin{tikzpicture}
\pingu[glasses round,
glasses round left fill=green]
\end{tikzpicture}

/pingu/glasses round right fill = ⟨color⟩(default: !hide)

Requires glasses round.

Sets the fill color of the right glass. The opacity is determined by /pingu/glasses round right opacity.

Compiled output

\begin{tikzpicture}
\pingu[glasses round,
glasses round right fill=green]
\end{tikzpicture}

/pingu/glasses round fill = ⟨color⟩(default: \@pingu@none)

Requires glasses round.

Change the color of both glasses by calling /pingu/glasses round left fill and /pingu/glasses round right fill with the same value.

Compiled output

\begin{tikzpicture}
\pingu[glasses round, glasses round fill=green]
\end{tikzpicture}

/pingu/glasses round left opacity = ⟨factor⟩(default: .825)

Requires glasses round.

Compiled output

\begin{tikzpicture}
\pingu[glasses round,
glasses round left fill=green,
glasses round left opacity=1]
\end{tikzpicture}

/pingu/glasses round right opacity = ⟨factor⟩(default: .825)

Requires glasses round.

Sets the fill opacity of the right glass:

Compiled output

\begin{tikzpicture}
\pingu[glasses round,
glasses round right fill=green,
glasses round right opacity=1]
\end{tikzpicture}

/pingu/glasses round opacity = ⟨factor⟩(default: .825)

Requires glasses round.

Change the opacity of both glasses round by calling /pingu/glasses round left opacity and /pingu/glasses round right opacity with the same value.

Compiled output

\begin{tikzpicture}
\pingu[glasses round,
glasses round fill=teal,
glasses round opacity=1]
\end{tikzpicture}

/pingu/glasses round line width = ⟨length⟩(default: .75\p@)

Requires glasses round.

Compiled output

\begin{tikzpicture}
\pingu[glasses round, glasses round line width=1mm]
\end{tikzpicture}

/pingu/sun glasses round = ⟨color⟩(default: pingu@black)

Configure the /pingu/glasses round to display sunglasses round. The color is passed on to /pingu/glasses round fill

Compiled output

\begin{tikzpicture}
\pingu[sun glasses round=orange]
\end{tikzpicture}

sunglasses round: alias of sun glasses round.