The TikZpingus package
Extras
A.3.14 The glasses¶
/pingu/glasses = ⟨color⟩(default: pingu@black)¶
/pingu/glasses left fill = ⟨color⟩(default: !hide)¶
Requires glasses.
Sets the fill color of the left glass. The opacity is determined by /pingu/glasses left opacity.
\begin{tikzpicture}
\pingu[glasses,
glasses left fill=green]
\end{tikzpicture}
/pingu/glasses right fill = ⟨color⟩(default: !hide)¶
Requires glasses.
Sets the fill color of the right glass. The opacity is determined by /pingu/glasses right opacity.
\begin{tikzpicture}
\pingu[glasses,
glasses right fill=green]
\end{tikzpicture}
/pingu/glasses fill = ⟨color⟩(default: \@pingu@none)¶
Requires glasses.
Change the color of both glasses by calling /pingu/glasses left fill and /pingu/glasses right fill with the same value.
\begin{tikzpicture}
\pingu[glasses, glasses fill=green]
\end{tikzpicture}
/pingu/glasses left opacity = ⟨factor⟩(default: .825)¶
Requires glasses.
\begin{tikzpicture}
\pingu[glasses,
glasses left fill=green,
glasses left opacity=1]
\end{tikzpicture}
/pingu/glasses right opacity = ⟨factor⟩(default: .825)¶
Requires glasses.
Sets the fill opacity of the right glass:
\begin{tikzpicture}
\pingu[glasses,
glasses right fill=green,
glasses right opacity=1]
\end{tikzpicture}
/pingu/glasses opacity = ⟨factor⟩(default: .825)¶
Requires glasses.
Change the opacity of both glasses by calling /pingu/glasses left opacity and /pingu/glasses right opacity with the same value.
\begin{tikzpicture}
\pingu[glasses,
glasses fill=teal,
glasses opacity=1]
\end{tikzpicture}
/pingu/glasses line width = ⟨length⟩(default: 1.125\p@)¶
Requires glasses.
\begin{tikzpicture}
\pingu[glasses, glasses line width=1mm]
\end{tikzpicture}
/pingu/glasses bend left = ⟨angle⟩(default: 32.5)¶
Requires glasses.
\begin{tikzpicture}
\pingu[glasses, glasses bend left=45]
\end{tikzpicture}
/pingu/glasses bend right = ⟨angle⟩(default: 32.5)¶
Requires glasses.
\begin{tikzpicture}
\pingu[glasses, glasses bend right=45]
\end{tikzpicture}
/pingu/glasses bend = ⟨angle⟩(default: 32.5)¶
Requires glasses.
Sets /pingu/glasses bend left and /pingu/glasses bend right with the same value.
\begin{tikzpicture}
\pingu[glasses, glasses bend=45]
\end{tikzpicture}
/pingu/glasses upper bend = ⟨angle⟩(default: 8)¶
Requires glasses.
Sets the bending of the upper part of the glasses.
\begin{tikzpicture}
\pingu[glasses, glasses upper bend=30]
\end{tikzpicture}
/pingu/sun glasses = ⟨color⟩(default: pingu@black)¶
Configure the /pingu/glasses to display sunglasses. The color is passed on to /pingu/glasses fill
\begin{tikzpicture}
\pingu[sun glasses=orange]
\end{tikzpicture}
sunglasses: alias of sun glasses.