logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Chart::Font - read only single font holding objects

Author

       Herbert Breunung, <lichtkind@cpan.org>

perl v5.36.0                                       2022-12-10               Chart::Property::DataType::Font(3pm)

Description

Name

       Chart::Font - read only single font holding objects

Synopsis

           my $red = Chart::Color->new('red');
           say $red->add('blue')->name;              # magenta, mixed in RGB space
           Chart::Color->new( 0, 0, 255)->hsl        # 240, 100, 50 = blue
           $blue->blend_with({H=> 0, S=> 0, L=> 80}, 0.1);# mix blue with a little grey
           $red->gradient( '#0000FF', 10);           # 10 colors from red to blue
           $red->complementary( 3 );                 # get fitting red green and blue

See Also