Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
Image
Image.Color
Image.Color.Color

Method Image.Color.Color()->cast()


Method cast

array|string cast()

Description

cast the object to an array, representing red, green and blue (equal to ->rgb ()), or to a string, giving the name (equal to ->name ()).

Returns

the name as string or rgb as array

See also

rgb , name