% !TeX spellcheck = en_US
% !TeX root = tikz-ext-manual.tex
% Copyright 2022 by Qrrbrbirlbel
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Free Documentation License.
%
\clearpage
\section{Using Images as a Pattern}
\label{library:patterns.images}
\begin{tikzlibrary}{ext.patterns.images}
This library allows to use an image to be used as a repeating pattern for a path.
\begin{key}{/\tikzext/image as pattern/name=\meta{name}}\keycompat{tikz/image as pattern}
Specifies the name of the ``image-pattern'' to be used.
\end{key}
\begin{stylekey}{/\tikzext/image as pattern/option}\keycompat{tikz/image as pattern}
Options that will be used by the internal |\pgftext|,\indexCommandO{\pgftext}
only keys from |/pgf/text| should be used.\indexKeyO[/pgf/]{text}
\end{stylekey}
\begin{key}{/\tikzext/image as pattern/options=\meta{style}}\keycompat{tikz/image as pattern}
Appends to style |/tikz/ext/image as pattern/option|.
\end{key}