?? shape.html
字號:
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Shape.html#Shape()">Shape</A></B>()</CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Shape.html#curve(double, double, double, double)">curve</A></B>(double x,
double y,
double controlX,
double controlY)</CODE>
<BR>
Draw a curve in the current line style (if any)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Shape.html#defineFillStyle(com.anotherbigidea.flash.structs.Color)">defineFillStyle</A></B>(<A HREF="../../../../com/anotherbigidea/flash/structs/Color.html" title="class in com.anotherbigidea.flash.structs">Color</A> color)</CODE>
<BR>
Define a color fill</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Shape.html#defineFillStyle(com.anotherbigidea.flash.structs.Color[], int[], com.anotherbigidea.flash.movie.Transform, boolean)">defineFillStyle</A></B>(<A HREF="../../../../com/anotherbigidea/flash/structs/Color.html" title="class in com.anotherbigidea.flash.structs">Color</A>[] colors,
int[] ratios,
<A HREF="../../../../com/anotherbigidea/flash/movie/Transform.html" title="class in com.anotherbigidea.flash.movie">Transform</A> matrix,
boolean radial)</CODE>
<BR>
Define a gradient fill</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Shape.html#defineFillStyle(com.anotherbigidea.flash.movie.Symbol, com.anotherbigidea.flash.movie.Transform, boolean)">defineFillStyle</A></B>(<A HREF="../../../../com/anotherbigidea/flash/movie/Symbol.html" title="class in com.anotherbigidea.flash.movie">Symbol</A> image,
<A HREF="../../../../com/anotherbigidea/flash/movie/Transform.html" title="class in com.anotherbigidea.flash.movie">Transform</A> matrix,
boolean clipped)</CODE>
<BR>
Define an image fill</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Shape.html#defineLineStyle(double, com.anotherbigidea.flash.structs.Color)">defineLineStyle</A></B>(double width,
<A HREF="../../../../com/anotherbigidea/flash/structs/Color.html" title="class in com.anotherbigidea.flash.structs">Color</A> color)</CODE>
<BR>
Define a line style</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Shape.html#defineSymbol(com.anotherbigidea.flash.movie.Movie, com.anotherbigidea.flash.interfaces.SWFTagTypes, com.anotherbigidea.flash.interfaces.SWFTagTypes)">defineSymbol</A></B>(<A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html" title="class in com.anotherbigidea.flash.movie">Movie</A> movie,
<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html" title="interface in com.anotherbigidea.flash.interfaces">SWFTagTypes</A> timelineWriter,
<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html" title="interface in com.anotherbigidea.flash.interfaces">SWFTagTypes</A> definitionWriter)</CODE>
<BR>
Override to provide symbol definition</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> double[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Shape.html#getBoundingRectangle()">getBoundingRectangle</A></B>()</CODE>
<BR>
Get the bounding rectangle as a double[4] - (min-X,min-Y,max-X,max-Y)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="../../../../com/anotherbigidea/flash/structs/Rect.html" title="class in com.anotherbigidea.flash.structs">Rect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Shape.html#getRect()">getRect</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.util.ArrayList</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Shape.html#getShapeElements()">getShapeElements</A></B>()</CODE>
<BR>
Access the list of shape elements Each object is a subclass of Shape.Element</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Shape.html#line(double, double)">line</A></B>(double x,
double y)</CODE>
<BR>
Draw a line in the current line style (if any)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Shape.html#move(double, double)">move</A></B>(double x,
double y)</CODE>
<BR>
Move the pen without drawing any line</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Shape.html#predefineImageFills(com.anotherbigidea.flash.movie.Movie, com.anotherbigidea.flash.interfaces.SWFTagTypes, com.anotherbigidea.flash.interfaces.SWFTagTypes)">predefineImageFills</A></B>(<A HREF="../../../../com/anotherbigidea/flash/movie/Movie.html" title="class in com.anotherbigidea.flash.movie">Movie</A> movie,
<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html" title="interface in com.anotherbigidea.flash.interfaces">SWFTagTypes</A> timelineWriter,
<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTagTypes.html" title="interface in com.anotherbigidea.flash.interfaces">SWFTagTypes</A> definitionWriter)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Shape.html#setBoundingRectangle(double, double, double, double)">setBoundingRectangle</A></B>(double minX,
double minY,
double maxX,
double maxY)</CODE>
<BR>
Set the bounding rectangle.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Shape.html#setLeftFillStyle(int)">setLeftFillStyle</A></B>(int index)</CODE>
<BR>
Set the left fill style</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Shape.html#setLineStyle(int)">setLineStyle</A></B>(int index)</CODE>
<BR>
Set the line style</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Shape.html#setRightFillStyle(int)">setRightFillStyle</A></B>(int index)</CODE>
<BR>
Set the right fill style</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Shape.html#writeGlyph(com.anotherbigidea.flash.interfaces.SWFVectors)">writeGlyph</A></B>(<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFVectors.html" title="interface in com.anotherbigidea.flash.interfaces">SWFVectors</A> vecs)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Shape.html#writeShape(com.anotherbigidea.flash.interfaces.SWFShape)">writeShape</A></B>(<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFShape.html" title="interface in com.anotherbigidea.flash.interfaces">SWFShape</A> shape)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/anotherbigidea/flash/movie/Shape.html#writeVector(com.anotherbigidea.flash.interfaces.SWFVectors, java.lang.Object)">writeVector</A></B>(<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFVectors.html" title="interface in com.anotherbigidea.flash.interfaces">SWFVectors</A> vecs,
java.lang.Object el)</CODE>
<BR>
</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_com.anotherbigidea.flash.movie.Symbol"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.anotherbigidea.flash.movie.<A HREF="../../../../com/anotherbigidea/flash/movie/Symbol.html" title="class in com.anotherbigidea.flash.movie">Symbol</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/anotherbigidea/flash/movie/Symbol.html#define(com.anotherbigidea.flash.movie.Movie, com.anotherbigidea.flash.interfaces.SWFTagTypes, com.anotherbigidea.flash.interfaces.SWFTagTypes)">define</A>, <A HREF="../../../../com/anotherbigidea/flash/movie/Symbol.html#getId()">getId</A>, <A HREF="../../../../com/anotherbigidea/flash/movie/Symbol.html#getNextId(com.anotherbigidea.flash.movie.Movie)">getNextId</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="elements"><!-- --></A><H3>
elements</H3>
<PRE>
protected java.util.ArrayList <B>elements</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="minX"><!-- --></A><H3>
minX</H3>
<PRE>
protected double <B>minX</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="maxX"><!-- --></A><H3>
maxX</H3>
<PRE>
protected double <B>maxX</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="minY"><!-- --></A><H3>
minY</H3>
<PRE>
protected double <B>minY</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="maxY"><!-- --></A><H3>
maxY</H3>
<PRE>
protected double <B>maxY</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="hasAlpha"><!-- --></A><H3>
hasAlpha</H3>
<PRE>
protected boolean <B>hasAlpha</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="maxLineWidth"><!-- --></A><H3>
maxLineWidth</H3>
<PRE>
protected double <B>maxLineWidth</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="currx"><!-- --></A><H3>
currx</H3>
<PRE>
protected double <B>currx</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="curry"><!-- --></A><H3>
curry</H3>
<PRE>
protected double <B>curry</B></PRE>
<DL>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="Shape()"><!-- --></A><H3>
Shape</H3>
<PRE>
public <B>Shape</B>()</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="getBoundingRectangle()"><!-- --></A><H3>
getBoundingRectangle</H3>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -