Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 05cd670d8a02b2b4a0ffb1756f2e8308 > files > 4786

php-manual-zh-5.2.4-1mdv2008.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>SWFShape-&#62;setLeftFill()</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="PHP 手册"
HREF="index.html"><LINK
REL="UP"
TITLE="Ming functions for Flash"
HREF="ref.ming.html"><LINK
REL="PREVIOUS"
TITLE="SWFShape->movePenTo()"
HREF="function.swfshape.movepento.html"><LINK
REL="NEXT"
TITLE="SWFShape->setLine()"
HREF="function.swfshape.setline.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=UTF-8"></HEAD
><BODY
CLASS="refentry"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>PHP 手册</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.swfshape.movepento.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.swfshape.setline.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.swfshape.setleftfill"
></A
>SWFShape-&#62;setLeftFill()</H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN123346"
></A
><P
>    (no version information, might be only in CVS)</P
>SWFShape-&#62;setLeftFill()&nbsp;--&nbsp;Sets left rasterizing color</DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN123349"
></A
><H2
>说明</H2
>class <B
CLASS="classname"
>SWFShape</B
> { <BR
></BR
>void <B
CLASS="methodname"
>setLeftFill</B
> ( SWFGradient fill )<BR
></BR
>void <B
CLASS="methodname"
>setLeftFill</B
> ( int red, int green, int blue [, int a] )<BR
></BR
>}<DIV
CLASS="warning"
><P
></P
><TABLE
CLASS="warning"
BORDER="1"
WIDTH="100%"
><TR
><TD
ALIGN="CENTER"
><B
>警告</B
></TD
></TR
><TR
><TD
ALIGN="LEFT"
><P
>本函数是<SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>实验性</I
></SPAN
>的。本函数的行为,包括函数名称以及其它任何关于本函数的文档可能会在没有通知的情况下随
PHP 以后的发布而改变。使用本函数风险自担。</P
></TD
></TR
></TABLE
></DIV
><P
>&#13;   What this nonsense is about is, every edge segment borders at most two fills. 
   When rasterizing the object, it's pretty handy to know what those fills are 
   ahead of time, so the swf format requires these to be specified. 
  </P
><P
>&#13;   <B
CLASS="function"
>swfshape-&#62;setleftfill()</B
> sets the fill on the left side of 
   the edge- that is, on the interior if you're defining the outline of the shape in a counter-clockwise
   fashion. The fill object is an SWFFill object returned from one of the addFill
   functions above. 
  </P
><P
>&#13;   This seems to be reversed when you're defining a shape in a morph, though. 
   If your browser crashes, just try setting the fill on the other side. 
  </P
><P
>&#13;   Shortcut for <TT
CLASS="literal"
>swfshape-&#62;setleftfill($s-&#62;addfill($r, $g, $b [, $a]));</TT
>. 
  </P
></DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN123384"
></A
><H2
>返回值</H2
><P
>&#13;   无返回值。
  </P
></DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN123387"
></A
><H2
>参见</H2
><P
>&#13;   <P
></P
><TABLE
BORDER="0"
><TBODY
><TR
><TD
><A
HREF="function.swfshape.setrightfill.html"
>SWFShape-&#62;setRightFill()</A
></TD
></TR
></TBODY
></TABLE
><P
></P
>
  </P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.swfshape.movepento.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>起始页</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.swfshape.setline.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>SWFShape-&#62;movePenTo()</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.ming.html"
ACCESSKEY="U"
>上一级</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>SWFShape-&#62;setLine()</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>