Rechercher une page de manuel
Graphics::Color::YIQ.3pm
Langue: en
Version: 2009-09-10 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Graphics::Color::YIQ - YIQ color spaceDESCRIPTION
Graphics::Color::YIQ represents a Color in an YIQ color space.DISCLAIMER
I couldn't find clear information on the bounds of each value, so at the moment there are none.SYNOPSIS
use Graphics::Color::YIQ; my $color = Graphics::Color::YIQ->new({ luminance => 0.5, in_phase => .5 quadrature => .25, });
CONSTRUCTOR
Graphics::Color::YIQ->new(%options);
Creates a new Graphics::Color::YIQ.METHODS
equal_to
Compares this color to the provided one. Returns 1 if true, else 0;not_equal_to
The opposite of equal_to.luminance
y
Set/Get the luminance component of this Color.in_phase
i
Set/Get the in_phase component of this Color.quadrature
q
Set/Get the quadrature component of this Color.name
Get the name of this color. Only valid if the color was created by name.as_string
Get a string version of this Color in the form of LUMINANCE,IN-PHASE,QUADRATUREas_array
Get the YIQ values as an arrayAUTHOR
Cory Watson, "<gphat@cpan.org>"SEE ALSO
perl(1), <http://en.wikipedia.org/wiki/YIQ>COPYRIGHT & LICENSE
Copyright 2008 - 2009 by Cory G WatsonThis program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre