File: ColorConverter.d.ts

package info (click to toggle)
three.js 111%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 15,212 kB
  • sloc: javascript: 133,174; makefile: 24; sh: 1
file content (25 lines) | stat: -rw-r--r-- 516 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import {
	Color
} from '../../../src/Three';

export interface HSL {
	h: number;
	s: number;
	l: number;
}

export interface CMYK {
	c: number;
	m: number;
	y: number;
	k: number;
}

export namespace ColorConverter {

	export function setHSV( color: Color, h: number, s: number, v: number ): Color;
	export function getHSV( color: Color, target: HSL ): HSL;
	export function setCMYK( color: Color, c: number, m: number, y: number, k: number ): Color;
	export function getCMYK( color: Color, target: CMYK ): CMYK;

}