📄 function.imagickpixel-sethsl.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Sets the normalized HSL color</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="class.imagickpixel.html">The ImagickPixel class</a></div> <div class="next" style="text-align: right; float: right;"><a href="class.imagickpixeliterator.html">The ImagickPixelIterator class</a></div> <div class="up"><a href="class.imagickpixel.html">The ImagickPixel class</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.imagickpixel-sethsl" class="refentry"> <div class="refnamediv"> <h1 class="refname">ImagickPixel::setHSL</h1> <p class="verinfo">(No version information available, might be only in CVS)</p><p class="refpurpose"><span class="refname">ImagickPixel::setHSL</span> — <span class="dc-title">Sets the normalized HSL color</span></p> </div> <div class="refsect1 description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><b>ImagickPixel::setHSL</b></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$hue</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$saturation</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$luminosity</tt></span> )</div> <div class="warning"><b class="warning">Warning</b><p class="simpara">This function iscurrently not documented; only its argument list is available.</p></div> <p class="para"> Sets the color described by the ImagickPixel object using normalized values for hue, saturation and luminosity. </p> </div> <div class="refsect1 parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><i><tt class="parameter">hue</tt></i></span> <dd> <p class="para"> The normalized value for hue, described as a fractional arc (between 0 and 1) of the hue circle, where the zero value is red. </p> </dd> </dt> <dt> <span class="term"><i><tt class="parameter">saturation</tt></i></span> <dd> <p class="para"> The normalized value for saturation, with 1 as full saturation. </p> </dd> </dt> <dt> <span class="term"><i><tt class="parameter">luminosity</tt></i></span> <dd> <p class="para"> The normalized value for luminosity, on a scale from black at 0 to white at 1, with the full HS value at 0.5 luminosity. </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns <b><tt>TRUE</tt></b> on success. </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="class.imagickpixel.html">The ImagickPixel class</a></div> <div class="next" style="text-align: right; float: right;"><a href="class.imagickpixeliterator.html">The ImagickPixelIterator class</a></div> <div class="up"><a href="class.imagickpixel.html">The ImagickPixel class</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -