EIOS/inc/fpdf/doc/setdrawcolor.htm

45 lines
1.3 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1251">
<title>SetDrawColor</title>
<link type="text/css" rel="stylesheet" href="fpdf.css">
</head>
<body>
<h1>SetDrawColor</h1>
<code>SetDrawColor(<b>int</b> r [, <b>int</b> g, <b>int</b> b])</code>
<h4 class='st'>Âĺđńč˙</h4>
1.3
<h4 class='st'>Îďčńŕíčĺ</h4>
Çŕäŕĺň öâĺň äë˙ âńĺő îďĺđŕöčé, ďđîđčńîâóţůčő ęîíňóđű (ëčíčč, ďđ˙ěîóăîëüíčęč č
ăđŕíčöű ˙÷ĺĺę). Ěîćĺň çŕäŕâŕňüń˙ â RGB čëč ăđŕäŕöč˙ő ńĺđîăî. Ýňîň ěĺňîä ěîćĺň
âűçűâŕňüń˙ äî ńîçäŕíč˙ ďĺđâîé ńňđŕíčöű č ĺăî çíŕ÷ĺíčĺ íĺ čçěĺí˙ĺňń˙ ďđč ďĺđĺőîäĺ
îň ńňđŕíčöű ę ńňđŕíčöĺ.
<h4 class='st'>Ďŕđŕěĺňđű</h4>
<dl class="param">
<dt><code>r</code></dt>
<dd>
Ĺńëč <TT>g</TT> č <TT>b</TT> çŕäŕíű - ęđŕńíŕ˙ ńîńňŕâë˙ţůŕ˙; ĺńëč íĺň - ăđŕäŕöč˙ ńĺđîăî.
Çíŕ÷ĺíčĺ îň 0 äî 255.
</dd>
<dt><code>g</code></dt>
<dd>
Çĺëĺíŕ˙ ńîńňŕâë˙ţůŕ˙ (îň 0 äî 255).
</dd>
<dt><code>b</code></dt>
<dd>
Ńčí˙˙ ńîńňŕâë˙ţůŕ˙ (îň 0 äî 255).
</dd>
</dl>
<h4 class='st'>Ńě. ňŕęćĺ</h4>
<a href="setfillcolor.htm">SetFillColor()</a>,
<a href="settextcolor.htm">SetTextColor()</a>,
<a href="line.htm">Line()</a>,
<a href="rect.htm">Rect()</a>,
<a href="cell.htm">Cell()</a>,
<a href="multicell.htm">MultiCell()</a>.
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Îăëŕâëĺíčĺ</a></div>
</body>
</html>