more
This commit is contained in:
parent
b6c5439829
commit
fa923c957f
BIN
cpdfmanual.pdf
BIN
cpdfmanual.pdf
Binary file not shown.
|
@ -2001,8 +2001,7 @@ specifies the size in points:
|
||||||
|
|
||||||
\subsection{Colors}
|
\subsection{Colors}
|
||||||
\index{color}
|
\index{color}
|
||||||
The \texttt{-color} option takes an RGB color, where red, green and blue
|
The \texttt{-color} option takes an RGB (3 values), CYMK (4 values), or Grey (1 value) color. Components range between 0 and 1. The following RGB colors are predefined:
|
||||||
components range between 0 and 1. The following values are predefined:
|
|
||||||
|
|
||||||
\vspace{2mm}
|
\vspace{2mm}
|
||||||
\begin{tabular}{ll}
|
\begin{tabular}{ll}
|
||||||
|
@ -2019,6 +2018,12 @@ components range between 0 and 1. The following values are predefined:
|
||||||
|
|
||||||
\vspace{1.5mm}
|
\vspace{1.5mm}
|
||||||
\small\verb!cpdf -add-text "Hullo" -color "0.5 0.5 0.5" in.pdf -o out.pdf!
|
\small\verb!cpdf -add-text "Hullo" -color "0.5 0.5 0.5" in.pdf -o out.pdf!
|
||||||
|
|
||||||
|
\vspace{1.5mm}
|
||||||
|
\small\verb!cpdf -add-text "Hullo" -color "0.75" in.pdf -o out.pdf!
|
||||||
|
|
||||||
|
\vspace{1.5mm}
|
||||||
|
\small\verb!cpdf -add-text "Hullo" -color "0.5 0.5 0.4 0.9" in.pdf -o out.pdf!
|
||||||
\end{framed}
|
\end{framed}
|
||||||
|
|
||||||
\noindent Partly-transparent text may be specified using the \verb!-opacity! option. Wholly opaque is 1 and wholly transparent is 0. For example:
|
\noindent Partly-transparent text may be specified using the \verb!-opacity! option. Wholly opaque is 1 and wholly transparent is 0. For example:
|
||||||
|
|
Loading…
Reference in New Issue