mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
committed by
Matthias Kramm
parent
0fea15ea29
commit
417230043e
15
stdlib/2and3/colorsys.pyi
Normal file
15
stdlib/2and3/colorsys.pyi
Normal file
@@ -0,0 +1,15 @@
|
||||
# Stubs for colorsys
|
||||
|
||||
from typing import Tuple
|
||||
|
||||
def rgb_to_yiq(r: float, g: float, b: float) -> Tuple[float, float, float]: ...
|
||||
def yiq_to_rgb(y: float, i: float, q: float) -> Tuple[float, float, float]: ...
|
||||
def rgb_to_hls(r: float, g: float, b: float) -> Tuple[float, float, float]: ...
|
||||
def hls_to_rgb(h: float, l: float, s: float) -> Tuple[float, float, float]: ...
|
||||
def rgb_to_hsv(r: float, g: float, b: float) -> Tuple[float, float, float]: ...
|
||||
def hsv_to_rgb(h: float, s: float, v: float) -> Tuple[float, float, float]: ...
|
||||
|
||||
# TODO undocumented
|
||||
ONE_SIXTH = ... # type: float
|
||||
ONE_THIRD = ... # type: float
|
||||
TWO_THIRD = ... # type: float
|
||||
Reference in New Issue
Block a user