Home > PHP > Function > SWF > swf_definerect()

swf_definerect()

swf_definerect - Define a rectangle

Syntax

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

Arguments

  • objid - The object id.
  • x1 - x-coordinate of upper left point.
  • y1 - y-coordinate of upper left point.
  • x2 - x-coordinate of lower right point.
  • y2 - y-coordinate of lower right point.
  • width - Width of the rectangles border, if the width is 0.0 then the rectangle is filled.

Description

Defines a rectangle with an upper left hand coordinate and a lower right hand coordinate.

Version

PHP 4

Return value

No value is returned.