![]() |
![]()
| ![]() |
![]()
NAMEGraphics::Color::YIQ - YIQ color space VERSIONversion 0.31 SYNOPSISuse Graphics::Color::YIQ; my $color = Graphics::Color::YIQ->new({ luminance => 0.5, in_phase => .5, quadrature => .25, }); DESCRIPTIONGraphics::Color::YIQ represents a Color in an YIQ color space. DISCLAIMERI couldn't find clear information on the bounds of each value, so at the moment there are none. ATTRIBUTESluminanceySet/Get the luminance component of this Color. in_phaseiSet/Get the in_phase component of this Color. quadratureqSet/Get the quadrature component of this Color. nameGet the name of this color. Only valid if the color was created by name. not_equal_toThe opposite of equal_to. METHODSas_stringGet a string version of this Color in the form of LUMINANCE,IN-PHASE,QUADRATURE as_arrayGet the YIQ values as an array equal_toCompares this color to the provided one. Returns 1 if true, else 0; AUTHORCory G Watson <gphat@cpan.org> COPYRIGHT AND LICENSEThis software is copyright (c) 2014 by Cold Hard Code, LLC. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|