diff options
author | Erlang/OTP <[email protected]> | 2009-12-04 06:36:15 +0100 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2009-12-04 06:36:15 +0100 |
commit | 5bf73e1dc401a205e02432d3e8ebedde0ad7f117 (patch) | |
tree | e22d4eadf604434fea9e2d53e72053cc7cfe2ccb /lib/percept/src/egd.erl | |
parent | 80afa01bca08e875fca796f277ec4be0cc71c387 (diff) | |
parent | 998ccfc3dbef52b2470c73a1a03d2d0b95a3acd7 (diff) | |
download | otp-5bf73e1dc401a205e02432d3e8ebedde0ad7f117.tar.gz otp-5bf73e1dc401a205e02432d3e8ebedde0ad7f117.tar.bz2 otp-5bf73e1dc401a205e02432d3e8ebedde0ad7f117.zip |
Merge branch 'egil/misc-egd' into ccase/r13b04_dev
Diffstat (limited to 'lib/percept/src/egd.erl')
-rw-r--r-- | lib/percept/src/egd.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/percept/src/egd.erl b/lib/percept/src/egd.erl index 4becfef19b..7972fde597 100644 --- a/lib/percept/src/egd.erl +++ b/lib/percept/src/egd.erl @@ -128,13 +128,13 @@ line(Image, P1, P2, Color) -> %% @spec color( Value | Name ) -> color() %% where -%% Value = {byte(), byte(), byte()} | {byte(), byte(), byte(), byte()} -%% Name = black | silver | gray | white | maroon | red | purple | fuchia | green | lime | olive | yellow | navy | blue | teal | aqua +%% Value = {byte(), byte(), byte()} | {byte(), byte(), byte(), byte()} +%% Name = black | silver | gray | white | maroon | red | purple | fuchia | green | lime | olive | yellow | navy | blue | teal | aqua %% @doc Creates a color reference. -spec(color/1 :: ( - Value :: {byte(), byte(), byte()} | {byte(), byte(), byte(), byte()} | atom()) -> - color()). + Value :: {byte(), byte(), byte()} | {byte(), byte(), byte(), byte()} | atom()) -> + color()). color(Color) -> egd_primitives:color(Color). |