📄 shape.html
字号:
<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 minX,
double minY,
double maxX,
double 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 width,
<A HREF="../../../../com/anotherbigidea/flash/structs/Color.html" title="class in com.anotherbigidea.flash.structs">Color</A> 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> 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> image,
<A HREF="../../../../com/anotherbigidea/flash/movie/Transform.html" title="class in com.anotherbigidea.flash.movie">Transform</A> matrix,
boolean 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>[] colors,
int[] ratios,
<A HREF="../../../../com/anotherbigidea/flash/movie/Transform.html" title="class in com.anotherbigidea.flash.movie">Transform</A> matrix,
boolean 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 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 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 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 x,
double 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 x,
double 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 x,
double y,
double controlX,
double 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> 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)
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> 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)
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> 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> vecs,
java.lang.Object 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> 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> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Shape.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../com/anotherbigidea/flash/movie/QTMovie.html" title="class in com.anotherbigidea.flash.movie"><B>PREV CLASS</B></A>
<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>
<A HREF="Shape.html" target="_top"><B>NO FRAMES</B></A>
<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: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<i>Copyright © 2000-2005 David N Main. All Rights Reserved.</i>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -