Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.277.254 Times

Color::Object 0.1_02

  Date Added: January 27, 2010  |  Visits: 1.201

Color::Object

Report Broken Link
Printer Friendly Version


Product Homepage
Download (103 downloads)



Color::Object is a OO-Color Module. A module for manipulation Colors within RGB, HSV and HSL color-spaces for usage within PDF-Documents especially with the Text::PDF::API modules. SYNOPSIS use Color::Object; $cl = Color::Object->new; $cl = Color::Object->newRGB($r,$g,$b); $cl = Color::Object->newHSV($h,$s,$v); $cl = Color::Object->newHSL($h,$s,$l); $cl->setRGB($r,$g,$b); $cl->addBrightness($br); ($h,$s,$l) = $cl->asHSL; METHODS Color::Object->new Color::Object->newRGB $r, $g, $b Color::Object->newHSV $h, $s, $v Color::Object->newHSL $h, $s, $l Color::Object->newGrey $grey ( $r, $g, $b ) = $cl->asRGB Returns $cls rgb values. Range [0 .. 1]. ( $h, $s, $v ) = $cl->asHSV Returns $cls hsv values. Ranges h [0 .. 360], s/v [0 .. 1]. ( $h, $s, $l ) = $cl->asHSL Returns $cls hsl values. Ranges h [0 .. 360], s/l [0 .. 1]. $grey = $cl->asGrey $grey = $cl->asGrey2 Returns $cls grey value. Range [0 .. 1]. Functions 2 returns the geometric mean of the corresponding RGB values. ( $c, $m, $y )= $cl->asCMY Returns $cls cmy values. Range [0 .. 1]. ( $c, $m, $y, $k )= $cl->asCMYK ( $c, $m, $y, $k )= $cl->asCMYK2 ( $c, $m, $y, $k )= $cl->asCMYK3 Returns $cls cmyk values. Range [0 .. 1]. Function 2 returns a 25% lighter color-equivalent. Function 3 returns a 25% lighter color-equivalent. $hex = $cl->asHex Returns $cls rgb values as 6 hex-digits. $cl->setRGB $r, $g, $b Sets the $cls rgb values. Valid range [0 .. 1]. $cl->setHSV $h, $s, $v Sets the $cls hsv values. Valid ranges: h [0..360], s/v [0..1]. $cl->setHSL $h, $s, $l Sets the $cls hsl values. Valid ranges: h [0..360], s/l [0..1]. $cl->setGrey $grey Sets the $cls grey value. Valid range [0 .. 1]. $cl->setHex $hex Sets the $cls rgb values using 6 hex-nibbles. $cl->addSaturation $saturation Adds to the $cls saturation in the HSV model. Valid range [-1 .. 1]. $cl->setSaturation $saturation Sets the $cls saturation in the HSV model. Valid range [0 .. 1]. $cl->rotHue $degrees Rotates the $cls hue in the HSV/L model. Valid range [-360 .. 360]. $cl->setHue $hue Sets the $cls hue in the HSV/L model. Valid range [0 .. 360]. $cl->addBrightness $brightness Adds to the $cls brightness in the HSV model. Valid range [-1 .. 1]. $cl->setBrightness $brightness Sets the $cls brightness in the HSV model. Valid range [0 .. 1]. $cl->addLightness $lightness Adds to the $cls lightness in the HSL model. Valid range [-1 .. 1]. $cl->setLightness $lightness Sets the $cls lightness in the HSL model. Valid range [0 .. 1]..

Requirements: No special requirements
Platforms: Linux
Keyword: Cl- Cls Color Module Colorobject Hsv Libraries Oo Range Rgb Values Valid
Users rating: 0/10

License: Freeware Size: 3.07 KB
USER REVIEWS
More Reviews or Write Review


COLOR::OBJECT RELATED
Libraries  -  Color::Calc 1.04
Color::Calc provides a module which implements simple calculations with RGB colors. This can be used to create a full color scheme from a few colors. There are three methods to use the calculation functions: You can create an object, import...
11.26 KB  
Modules  -  Color.module: Next generation 6.x-1.x-de
Note: I am deprecating this module. I may separate out useful or unique functionality of this module into a API using a separate module. In the mean time, great alternatives such as skinr and sweaver. Drupal 7's color module improvements will...
71.68 KB  
Modules  -  Painted Wall 6.x-2.1
Painted Wall is a fixed, table-less theme, it supports the COLOR module, that allows you to easily customize the colors of the theme.Actual Features : * Customize your colors with the color module * Cross-browser compatible. Work in Opera 9,...
655.36 KB  
Libraries  -  Color::Scheme 1.02
Color::Scheme is a module used to generate pleasant color schemes. This module is a Perl implementation of Color Schemes 2, a color scheme generator. Start by visitng the Color Schemes 2 web site and playing with the colors. When you want to...
11.26 KB  
Modules  -  Color Module 6.x-1.x-dev 1.0
The module allows webmaster's to customize site color's and give user's permission to pick schemes.The module provides extensible support for color replacement and shifting.InstallationUnpack in your modules folder (usually /sites/all/modules/)...
 
Libraries  -  Argv 1.19
Argv is a Perl module that provides an OO interface to an arg vector. SYNOPSIS use Argv; # A roundabout way of getting perls version. my $pl = Argv->new(qw(perl -v)); $pl->exec; # Run /bin/cat, showing how to provide "predigested"...
44.03 KB  
Utilities  -  Little RGB Color Picker 2.0
Select a color from the palette and this handy little utility displays the html hex code and the RGB values for that color. Fine tune the color using the sliding controls. Also shows a color sample. Copying the codes to the clipboard is just a...
1.2 MB  
MP3 Tools  -  RGB Color Picker 1.0
Pick Screen Color Color and use inbuilt Editor to change selected color on your Windows Computer. Seperate RGB values are displayed in the RGB Editor and the software also displays hexadecimal values. RGB Editor is totally compatible with Windows...
294.18 KB  
Science  -  Wacker Art RGB Color Mixer 1.4
With the Wacker Art RGB Color Mixer applet it is possible to define the RGB values of a selected color. The color can be defined with 7 sliders or with a random function.The program requires a browser with Java Plugin 1.4.2.The applet comes with a...
29 KB  
Libraries  -  XML::DOM::XML_Base 0.02
XML::DOM::XML_Base Perl module can apply xml:base to attribute values. SYNOPSIS use XML::DOM::XML_Base; my $parser = XML::DOM::Parser->new(); my $xml = qq( ); # build the DOM my $dom = $parser->parse( $xml ); # get some...
3.07 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB