@microsoft/fast-colors > ColorHSV > roundToPrecision
ColorHSV.roundToPrecision() method
Returns a new ColorHSV rounded to the provided precision
Signature:roundToPrecision(precision: number): ColorHSV;
Parameters
Parameter | Type | Description |
---|---|---|
precision | number | the precision to round to |