Remove hex inherited from Color in d3-hsv

This commit is contained in:
denis 2018-05-23 19:06:03 +02:00
parent 969d99802b
commit 0dcddbf82e
2 changed files with 1 additions and 6 deletions

View File

@ -48,6 +48,7 @@ cHSV = cHSV.darker();
cHSV = cHSV.darker(0.2);
displayable = cHSV.displayable();
cString = cHSV.toString();
cString = cHSV.hex();
console.log('Channels = (h : %d, s: %d, v: %d)', cHSV.h, cHSV.s, cHSV.v);
console.log('Opacity = %d', cHSV.opacity);

View File

@ -68,12 +68,6 @@ export interface HSVColor extends Color {
* Returns the RGB equivalent of this color.
*/
rgb(): RGBColor;
/**
* Returns a hexadecimal string representing this color.
* If this color is not displayable, a suitable displayable color is returned instead. For example, RGB channel values greater than 255 are clamped to 255.
*/
hex(): string;
}
export const hsv: HSVColorFactory;