Todo List
Description: Class to create the Rectangle object
[line 18]
[line 19]
[line 20]
[line 21]
static void fromLTRB( $x, $y, $right, $bottom)
static void __intersect( $src1, $src2, $dest)
Rectangle Rectangle( [ $x = 0], [ $y = 0], [ $width = 0.0], [ $height = 0.0])
void center( )
void copy( )
void getArea( )
Overridden in child classes as:
int getBottom( )
void getCenterX( )
void getCenterY( )
void getHeight( )
int getLeft( )
the getLocation( )
This method is included for completeness, to parallel the
int getRight( )
int getTop( )
void getWidth( )
void getX( )
void getY( )
void grow( h $h, v $v)
This method modifies the
The new
If negative values are supplied for
void inflate( $horizontal, $vertical)
void intersect( $value)
true intersects( r $r)
true
true isEmpty( )
void offset( $w, $h)
void setBottom( $value)
void setBounds( $x, $y, $width, $height)
void setFrame( $x, $y, $w, $h)
void setHeight( $value)
void setLeft( $value)
void setLocation( $x, $y)
void setRectangle( &$rect)
void setRight( $value)
void setSize( $w, $h)
void setTop( $value)
void setWidth( $value)
void setX( $x)
void setY( $y)
void toString( )
void _setLocation( p $p)
void __get( $property)
void __set( $property, $value)