linea21-externals
[ class tree: linea21-externals ] [ index: linea21-externals ] [ all elements ]

Class: awColor

Source Location: /class/system/artichow/php5/inc/Color.class.php

Class Overview


Create your colors


Variables

Methods



Class Details

[line 18]
Create your colors



[ Top ]


Class Variables

$alpha =

[line 23]



Tags:

access:  public

Type:   mixed


[ Top ]

$blue =

[line 22]



Tags:

access:  public

Type:   mixed


[ Top ]

$green =

[line 21]



Tags:

access:  public

Type:   mixed


[ Top ]

$red =

[line 20]



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 33]

awColor __construct( $red, $green, $blue, [ $alpha = 0])

Build your color



Tags:

var:  Red intensity (from 0 to 255)
access:  public


Parameters:

   $red  
   $green  
   $blue  
   $alpha  

[ Top ]

method brightness [line 56]

void brightness( int $brightness)

Change color brightness



Tags:

access:  public


Parameters:

int   $brightness   Add this intensity to the color (betweeen -255 and +255)

[ Top ]

method getColor [line 47]

array getColor( )

Get RGB and alpha values of your color



Tags:

access:  public


[ Top ]

method rgba [line 71]

array rgba( )

Get RGB and alpha values of your color



Tags:

access:  public


[ Top ]


Documentation generated on Thu, 03 May 2012 15:03:29 +0200 by phpDocumentor 1.4.1