From d0a9b9a03fc7ae74ef8a64593ac6b592526ec4d5 Mon Sep 17 00:00:00 2001 From: pp Date: Wed, 19 May 2004 04:59:31 +0000 Subject: - initial import git-svn-id: https://siedziba.pl:790/svn/repos/php-imlib/trunk@7 455248ca-bdda-0310-9134-f4ebb693071a --- phpdoc/ImlibColor.html | 562 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 562 insertions(+) create mode 100644 phpdoc/ImlibColor.html (limited to 'phpdoc/ImlibColor.html') diff --git a/phpdoc/ImlibColor.html b/phpdoc/ImlibColor.html new file mode 100644 index 0000000..cc152ce --- /dev/null +++ b/phpdoc/ImlibColor.html @@ -0,0 +1,562 @@ + + + + + PHP Imlib2 Classes - Imlib - Class: ImlibColor + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + +
PackageindexClasstreesModulegroupsElementlistReportXML Files
+

+ File: /home/matt/src/cvs/imlib/docs/class.ImlibColor.php +
PHP Imlib2 Classes - Imlib
+

ImlibColor

+ ImlibColor
+

+ Provides variables and methods for handling color +

+   +

+

public class ImlibColor

+ Provides variables and methods for handling color +
+ The variables and methods in this class provide a way to get and set thecolor to be used by any text or drawing functions. +

+ + + + + + + + + +
AuthorsMatt McClanahan <cardinal@dodds.net>
Version0.3
+

 
+ Direct known subclasses: ImlibCliprect, ImlibText +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Method Summary

void

ImlibColor()

ImlibColor constructor
mixed

get_color(int &$r, int &$g, int &$b, int &$a)

Get the four color components as by-reference variables
mixed

get_color_array()

Get the color array currently defined, if it is defined
void

set_color(int $r, int $g, int $b, int $a)

Set the current color using the four components
void

set_color_array(array $arr)

Set the current color using an array of 4 elements (r,g,b,a)
+
+ + + + + + + + + + +

Private Field Summary

array

$color

The array defining the color (r,g,b,a)
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Method Details

ImlibColor

+ public void ImlibColor( )

+

  + ImlibColor constructor +
+ +

+ +

Returnsvoid


get_color

+ public mixed get_color( int &$r, int &$g, int &$b, int &$a )

+

  + Get the four color components as by-reference variables +
+ +

+ +

Parameter
+ + + + + + + + + + +
int&$r
Red
+
+ + + + + + + + + + +
int&$g
Blue
+
+ + + + + + + + + + +
int&$b
Green
+
+ + + + + + + + + + +
int&$a
Alpha
+
Returnsmixed

False if a color isn't set, the color array otherwise


get_color_array

+ public mixed get_color_array( )

+

  + Get the color array currently defined, if it is defined +
+ +

+ +

Returnsmixed

False if a color isn't set, the color array otherwise


set_color

+ public void set_color( int $r, int $g, int $b, int $a )

+

  + Set the current color using the four components +
+ +

+ +

Parameter
+ + + + + + + + + + +
int$r
+
+ + + + + + + + + + +
int$g
+
+ + + + + + + + + + +
int$b
+
+ + + + + + + + + + +
int$a
+
Returnsvoid


set_color_array

+ public void set_color_array( array $arr )

+

  + Set the current color using an array of 4 elements (r,g,b,a) +
+ +

+ +

Parameter
+ + + + + + + + + + +
array$arr
array
+
Returnsvoid


+
+ + + + + + + + + + + + + + + + + + + + + + +

Private Field Details

$color

+ private array $color +

+ >><< +

+ The array defining the color (r,g,b,a) +
+ +


+

+ + + + + + + + + +
PackageindexClasstreesModulegroupsElementlistReportXML Files
+
PHPDoc 1.0beta
+ + + -- cgit v1.2.3