.

ImageToolsRect Class Reference
[ImageTools]

A simple data structure representing a rectangle. More...

List of all members.

Public Member Functions

  __construct ($width, $height, $x=0, $y=0)
  Constructor.

Public Attributes

  $height
  $width
  $x
  $y

Detailed Description

A simple data structure representing a rectangle.

Definition at line 7 of file imagetoolsrect.cls.php.


Constructor & Destructor Documentation

ImageToolsRect::__construct ( width,
height,
x = 0,
y = 0  
)

Constructor.

Parameters:
int  $width
int  $height
int  $x
int  $y

Definition at line 41 of file imagetoolsrect.cls.php.

00041                                                                      {
00042                 $this->x = $x;
00043                 $this->y = $y;
00044                 $this->width = $width;
00045                 $this->height = $height; 
00046         }

Member Data Documentation

ImageToolsRect::$height

Definition at line 31 of file imagetoolsrect.cls.php.

ImageToolsRect::$width

Definition at line 25 of file imagetoolsrect.cls.php.

ImageToolsRect::$x

Definition at line 13 of file imagetoolsrect.cls.php.

ImageToolsRect::$y

Definition at line 19 of file imagetoolsrect.cls.php.


The documentation for this class was generated from the following file: