⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shape.html

📁 java和flash接口编程
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<PRE>
public double[] <B>getBoundingRectangle</B>()</PRE>
<DL>
<DD>Get the bounding rectangle as a double[4] - (min-X,min-Y,max-X,max-Y)
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setBoundingRectangle(double, double, double, double)"><!-- --></A><H3>
setBoundingRectangle</H3>
<PRE>
public void <B>setBoundingRectangle</B>(double&nbsp;minX,
                                 double&nbsp;minY,
                                 double&nbsp;maxX,
                                 double&nbsp;maxY)</PRE>
<DL>
<DD>Set the bounding rectangle. This will be automatically calculated as the geometry vectors are defined and this rectangle will be enlarged if it does not contain all the vectors.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getShapeElements()"><!-- --></A><H3>
getShapeElements</H3>
<PRE>
public java.util.ArrayList <B>getShapeElements</B>()</PRE>
<DL>
<DD>Access the list of shape elements Each object is a subclass of Shape.Element
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="defineLineStyle(double, com.anotherbigidea.flash.structs.Color)"><!-- --></A><H3>
defineLineStyle</H3>
<PRE>
public void <B>defineLineStyle</B>(double&nbsp;width,
                            <A HREF="../../../../com/anotherbigidea/flash/structs/Color.html" title="class in com.anotherbigidea.flash.structs">Color</A>&nbsp;color)</PRE>
<DL>
<DD>Define a line style
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>color</CODE> - if null then black is assumed</DL>
</DD>
</DL>
<HR>

<A NAME="defineFillStyle(com.anotherbigidea.flash.structs.Color)"><!-- --></A><H3>
defineFillStyle</H3>
<PRE>
public void <B>defineFillStyle</B>(<A HREF="../../../../com/anotherbigidea/flash/structs/Color.html" title="class in com.anotherbigidea.flash.structs">Color</A>&nbsp;color)</PRE>
<DL>
<DD>Define a color fill
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>color</CODE> - if null then white is assumed</DL>
</DD>
</DL>
<HR>

<A NAME="defineFillStyle(com.anotherbigidea.flash.movie.Symbol, com.anotherbigidea.flash.movie.Transform, boolean)"><!-- --></A><H3>
defineFillStyle</H3>
<PRE>
public void <B>defineFillStyle</B>(<A HREF="../../../../com/anotherbigidea/flash/movie/Symbol.html" title="class in com.anotherbigidea.flash.movie">Symbol</A>&nbsp;image,
                            <A HREF="../../../../com/anotherbigidea/flash/movie/Transform.html" title="class in com.anotherbigidea.flash.movie">Transform</A>&nbsp;matrix,
                            boolean&nbsp;clipped)</PRE>
<DL>
<DD>Define an image fill
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="defineFillStyle(com.anotherbigidea.flash.structs.Color[], int[], com.anotherbigidea.flash.movie.Transform, boolean)"><!-- --></A><H3>
defineFillStyle</H3>
<PRE>
public void <B>defineFillStyle</B>(<A HREF="../../../../com/anotherbigidea/flash/structs/Color.html" title="class in com.anotherbigidea.flash.structs">Color</A>[]&nbsp;colors,
                            int[]&nbsp;ratios,
                            <A HREF="../../../../com/anotherbigidea/flash/movie/Transform.html" title="class in com.anotherbigidea.flash.movie">Transform</A>&nbsp;matrix,
                            boolean&nbsp;radial)</PRE>
<DL>
<DD>Define a gradient fill
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setLeftFillStyle(int)"><!-- --></A><H3>
setLeftFillStyle</H3>
<PRE>
public void <B>setLeftFillStyle</B>(int&nbsp;index)</PRE>
<DL>
<DD>Set the left fill style
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setRightFillStyle(int)"><!-- --></A><H3>
setRightFillStyle</H3>
<PRE>
public void <B>setRightFillStyle</B>(int&nbsp;index)</PRE>
<DL>
<DD>Set the right fill style
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setLineStyle(int)"><!-- --></A><H3>
setLineStyle</H3>
<PRE>
public void <B>setLineStyle</B>(int&nbsp;index)</PRE>
<DL>
<DD>Set the line style
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="move(double, double)"><!-- --></A><H3>
move</H3>
<PRE>
public void <B>move</B>(double&nbsp;x,
                 double&nbsp;y)</PRE>
<DL>
<DD>Move the pen without drawing any line
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="line(double, double)"><!-- --></A><H3>
line</H3>
<PRE>
public void <B>line</B>(double&nbsp;x,
                 double&nbsp;y)</PRE>
<DL>
<DD>Draw a line in the current line style (if any)
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="curve(double, double, double, double)"><!-- --></A><H3>
curve</H3>
<PRE>
public void <B>curve</B>(double&nbsp;x,
                  double&nbsp;y,
                  double&nbsp;controlX,
                  double&nbsp;controlY)</PRE>
<DL>
<DD>Draw a curve in the current line style (if any)
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="defineSymbol(com.anotherbigidea.flash.movie.Movie, com.anotherbigidea.flash.interfaces.SWFTagTypes, com.anotherbigidea.flash.interfaces.SWFTagTypes)"><!-- --></A><H3>
defineSymbol</H3>
<PRE>
protected int <B>defineSymbol</B>(<A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html" title="class in com.anotherbigidea.flash.movie">Movie</A>&nbsp;movie,
                           <A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html" title="interface in com.anotherbigidea.flash.interfaces">SWFTagTypes</A>&nbsp;timelineWriter,
                           <A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html" title="interface in com.anotherbigidea.flash.interfaces">SWFTagTypes</A>&nbsp;definitionWriter)
                    throws java.io.IOException</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/anotherbigidea/flash/movie/Symbol.html#defineSymbol(com.anotherbigidea.flash.movie.Movie, com.anotherbigidea.flash.interfaces.SWFTagTypes, com.anotherbigidea.flash.interfaces.SWFTagTypes)">Symbol</A></CODE></B></DD>
<DD>Override to provide symbol definition
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/anotherbigidea/flash/movie/Symbol.html#defineSymbol(com.anotherbigidea.flash.movie.Movie, com.anotherbigidea.flash.interfaces.SWFTagTypes, com.anotherbigidea.flash.interfaces.SWFTagTypes)">defineSymbol</A></CODE> in class <CODE><A HREF="../../../../com/anotherbigidea/flash/movie/Symbol.html" title="class in com.anotherbigidea.flash.movie">Symbol</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the new symbol id
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getRect()"><!-- --></A><H3>
getRect</H3>
<PRE>
protected <A HREF="../../../../com/anotherbigidea/flash/structs/Rect.html" title="class in com.anotherbigidea.flash.structs">Rect</A> <B>getRect</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="predefineImageFills(com.anotherbigidea.flash.movie.Movie, com.anotherbigidea.flash.interfaces.SWFTagTypes, com.anotherbigidea.flash.interfaces.SWFTagTypes)"><!-- --></A><H3>
predefineImageFills</H3>
<PRE>
protected void <B>predefineImageFills</B>(<A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html" title="class in com.anotherbigidea.flash.movie">Movie</A>&nbsp;movie,
                                   <A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html" title="interface in com.anotherbigidea.flash.interfaces">SWFTagTypes</A>&nbsp;timelineWriter,
                                   <A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html" title="interface in com.anotherbigidea.flash.interfaces">SWFTagTypes</A>&nbsp;definitionWriter)
                            throws java.io.IOException</PRE>
<DL>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="writeShape(com.anotherbigidea.flash.interfaces.SWFShape)"><!-- --></A><H3>
writeShape</H3>
<PRE>
protected void <B>writeShape</B>(<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFShape.html" title="interface in com.anotherbigidea.flash.interfaces">SWFShape</A>&nbsp;shape)
                   throws java.io.IOException</PRE>
<DL>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="writeVector(com.anotherbigidea.flash.interfaces.SWFVectors, java.lang.Object)"><!-- --></A><H3>
writeVector</H3>
<PRE>
protected void <B>writeVector</B>(<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFVectors.html" title="interface in com.anotherbigidea.flash.interfaces">SWFVectors</A>&nbsp;vecs,
                           java.lang.Object&nbsp;el)
                    throws java.io.IOException</PRE>
<DL>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="writeGlyph(com.anotherbigidea.flash.interfaces.SWFVectors)"><!-- --></A><H3>
writeGlyph</H3>
<PRE>
protected void <B>writeGlyph</B>(<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFVectors.html" title="interface in com.anotherbigidea.flash.interfaces">SWFVectors</A>&nbsp;vecs)
                   throws java.io.IOException</PRE>
<DL>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Shape.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/anotherbigidea/flash/movie/QTMovie.html" title="class in com.anotherbigidea.flash.movie"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/anotherbigidea/flash/movie/Shape.ColorFill.html" title="class in com.anotherbigidea.flash.movie"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/anotherbigidea/flash/movie/Shape.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="Shape.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
<i>Copyright &#169; 2000-2005 David N Main. All Rights Reserved.</i>
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -