PHP Manual
Prev |  | Next

# swf_definerect

(PHP 4, PECL)

swf_definerect -- Define a rectangle

## Description

void swf_definerect ( int objid, float x1, float y1, float x2, float y2, float width )

The swf_definerect() defines a rectangle with an upper left hand coordinate given by the x, x1, and the y, y1. And a lower right hand coordinate given by the x coordinate, x2, and the y coordinate, y2 . Width of the rectangles border is given by the width parameter, if the width is 0.0 then the rectangle is filled.

Prev | Home | Next
swf_definepoly | Up | swf_definetext