<?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/swf.xml, last change in rev 1.8 --> <refentry id="function.swf-definerect"> <refnamediv> <refname>swf_definerect</refname> <refpurpose>Define a rectangle</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>void</type><methodname>swf_definerect</methodname> <methodparam><type>int</type><parameter>objid</parameter></methodparam> <methodparam><type>float</type><parameter>x1</parameter></methodparam> <methodparam><type>float</type><parameter>y1</parameter></methodparam> <methodparam><type>float</type><parameter>x2</parameter></methodparam> <methodparam><type>float</type><parameter>y2</parameter></methodparam> <methodparam><type>float</type><parameter>width</parameter></methodparam> </methodsynopsis> <para> The <function>swf_definerect</function> defines a rectangle with an upper left hand coordinate given by the x, <parameter>x1</parameter>, and the y, <parameter>y1</parameter>. And a lower right hand coordinate given by the x coordinate, <parameter>x2</parameter>, and the y coordinate, <parameter>y2 </parameter>. Width of the rectangles border is given by the <parameter>width</parameter> parameter, if the width is 0.0 then the rectangle is filled. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->