提交 9ca880d9 编写于 作者: M Mr.doob

Docs: FontUtils had wrong information.

上级 9113ca2a
......@@ -9,29 +9,24 @@
<body>
<h1>[name]</h1>
<div class="desc">This is a utility class to handle values in <a href="https://en.wikipedia.org/wiki/RGB_color_model">RGB</a> and <a href="https://en.wikipedia.org/wiki/HSL_and_HSV">HSV</a> color spaces.</div>
<div class="desc">todo</div>
<h2>Constructor</h2>
<h3>[name]()</h3>
<h2>Properties</h2>
<h3>.[page:Vector3 todo]</h3>
<h2>Methods</h2>
<h3>.adjustHSV( [page:Color color], [page:Number h], [page:Number s], [page:Number v] )</h3>
<div class="desc">Taking a color as input, converts it to HSV, and applies the h, s, v parameters in place, i.e. no new color is returned but the original object is modified.</div>
<div>
[page:Color color] — source color to be adjusted<br />
[page:Number h] — hue change amount<br />
[page:Number s] — saturation change amount<br />
[page:Number v] — value change amount
</div>
<h3>.rgbToHsv( [page:Color color], [page:Object hsv] )</h3>
<div class="desc">Converts an RGB color into an HSV triplet and returns the converted color.</div>
<h3>.todo( [page:Vector3 todo] )</h3>
<div>
[page:Color color] — source color to be converted<br />
[page:Object hsv] — object in which the return value will be stored, if not null
todo — todo<br />
</div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册