1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|
2 | <!--NewPage-->
|
---|
3 | <HTML>
|
---|
4 | <HEAD>
|
---|
5 | <!-- Generated by javadoc (build 1.4.2_13) on Mon Oct 01 14:33:33 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | DrawOperation (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.types.optional.image.DrawOperation interface">
|
---|
11 |
|
---|
12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style">
|
---|
13 |
|
---|
14 | <SCRIPT type="text/javascript">
|
---|
15 | function windowTitle()
|
---|
16 | {
|
---|
17 | parent.document.title="DrawOperation (Apache Ant API)";
|
---|
18 | }
|
---|
19 | </SCRIPT>
|
---|
20 |
|
---|
21 | </HEAD>
|
---|
22 |
|
---|
23 | <BODY BGCOLOR="white" onload="windowTitle();">
|
---|
24 |
|
---|
25 |
|
---|
26 | <!-- ========= START OF TOP NAVBAR ======= -->
|
---|
27 | <A NAME="navbar_top"><!-- --></A>
|
---|
28 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
---|
29 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
30 | <TR>
|
---|
31 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
32 | <A NAME="navbar_top_firstrow"><!-- --></A>
|
---|
33 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
34 | <TR ALIGN="center" VALIGN="top">
|
---|
35 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
42 | </TR>
|
---|
43 | </TABLE>
|
---|
44 | </TD>
|
---|
45 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
46 | </EM>
|
---|
47 | </TD>
|
---|
48 | </TR>
|
---|
49 |
|
---|
50 | <TR>
|
---|
51 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
52 | PREV CLASS
|
---|
53 | NEXT CLASS</FONT></TD>
|
---|
54 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
55 | <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
56 | <A HREF="DrawOperation.html" target="_top"><B>NO FRAMES</B></A>
|
---|
57 | <SCRIPT type="text/javascript">
|
---|
58 | <!--
|
---|
59 | if(window==top) {
|
---|
60 | document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
61 | }
|
---|
62 | //-->
|
---|
63 | </SCRIPT>
|
---|
64 | <NOSCRIPT>
|
---|
65 | <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
66 | </NOSCRIPT>
|
---|
67 |
|
---|
68 | </FONT></TD>
|
---|
69 | </TR>
|
---|
70 | <TR>
|
---|
71 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
72 | SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
74 | DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
75 | </TR>
|
---|
76 | </TABLE>
|
---|
77 | <A NAME="skip-navbar_top"></A>
|
---|
78 | <!-- ========= END OF TOP NAVBAR ========= -->
|
---|
79 |
|
---|
80 | <HR>
|
---|
81 | <!-- ======== START OF CLASS DATA ======== -->
|
---|
82 | <H2>
|
---|
83 | <FONT SIZE="-1">
|
---|
84 | org.apache.tools.ant.types.optional.image</FONT>
|
---|
85 | <BR>
|
---|
86 | Interface DrawOperation</H2>
|
---|
87 | <DL>
|
---|
88 | <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../../../org/apache/tools/ant/types/optional/image/Arc.html" title="class in org.apache.tools.ant.types.optional.image">Arc</A>, <A HREF="../../../../../../../org/apache/tools/ant/types/optional/image/BasicShape.html" title="class in org.apache.tools.ant.types.optional.image">BasicShape</A>, <A HREF="../../../../../../../org/apache/tools/ant/types/optional/image/Ellipse.html" title="class in org.apache.tools.ant.types.optional.image">Ellipse</A>, <A HREF="../../../../../../../org/apache/tools/ant/types/optional/image/Rectangle.html" title="class in org.apache.tools.ant.types.optional.image">Rectangle</A>, <A HREF="../../../../../../../org/apache/tools/ant/types/optional/image/Rotate.html" title="class in org.apache.tools.ant.types.optional.image">Rotate</A>, <A HREF="../../../../../../../org/apache/tools/ant/types/optional/image/Scale.html" title="class in org.apache.tools.ant.types.optional.image">Scale</A>, <A HREF="../../../../../../../org/apache/tools/ant/types/optional/image/Text.html" title="class in org.apache.tools.ant.types.optional.image">Text</A></DD>
|
---|
89 | </DL>
|
---|
90 | <HR>
|
---|
91 | <DL>
|
---|
92 | <DT>public interface <B>DrawOperation</B></DL>
|
---|
93 |
|
---|
94 | <P>
|
---|
95 | Interface which represents an Operation which is "drawable", such
|
---|
96 | as a Rectangle, Circle or Text. The Operation is responsible for
|
---|
97 | creating its own image buffer and drawing itself into it, then
|
---|
98 | wrapping and returning it as a PlanarImage. This allows multible
|
---|
99 | "drawable" objects to be nested.
|
---|
100 | <P>
|
---|
101 |
|
---|
102 | <P>
|
---|
103 | <DL>
|
---|
104 | <DT><B>See Also:</B><DD><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/image/Image.html" title="class in org.apache.tools.ant.taskdefs.optional.image"><CODE>Image</CODE></A></DL>
|
---|
105 | <HR>
|
---|
106 |
|
---|
107 | <P>
|
---|
108 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
109 |
|
---|
110 |
|
---|
111 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
112 |
|
---|
113 |
|
---|
114 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
115 |
|
---|
116 |
|
---|
117 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
118 |
|
---|
119 | <A NAME="method_summary"><!-- --></A>
|
---|
120 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
121 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
122 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
123 | <B>Method Summary</B></FONT></TD>
|
---|
124 | </TR>
|
---|
125 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
126 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
127 | <CODE> PlanarImage</CODE></FONT></TD>
|
---|
128 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/types/optional/image/DrawOperation.html#executeDrawOperation()">executeDrawOperation</A></B>()</CODE>
|
---|
129 |
|
---|
130 | <BR>
|
---|
131 | Abstract method which is intended to create an image buffer
|
---|
132 | and return it so it can be drawn into another object.</TD>
|
---|
133 | </TR>
|
---|
134 | </TABLE>
|
---|
135 |
|
---|
136 | <P>
|
---|
137 |
|
---|
138 | <!-- ============ FIELD DETAIL =========== -->
|
---|
139 |
|
---|
140 |
|
---|
141 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
142 |
|
---|
143 |
|
---|
144 | <!-- ============ METHOD DETAIL ========== -->
|
---|
145 |
|
---|
146 | <A NAME="method_detail"><!-- --></A>
|
---|
147 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
148 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
149 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
150 | <B>Method Detail</B></FONT></TD>
|
---|
151 | </TR>
|
---|
152 | </TABLE>
|
---|
153 |
|
---|
154 | <A NAME="executeDrawOperation()"><!-- --></A><H3>
|
---|
155 | executeDrawOperation</H3>
|
---|
156 | <PRE>
|
---|
157 | public PlanarImage <B>executeDrawOperation</B>()</PRE>
|
---|
158 | <DL>
|
---|
159 | <DD>Abstract method which is intended to create an image buffer
|
---|
160 | and return it so it can be drawn into another object. Use
|
---|
161 | an Alpha channel for a "transparent" background.
|
---|
162 | <P>
|
---|
163 | <DD><DL>
|
---|
164 | </DL>
|
---|
165 | </DD>
|
---|
166 | </DL>
|
---|
167 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
168 | <HR>
|
---|
169 |
|
---|
170 |
|
---|
171 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
172 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
173 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
174 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
175 | <TR>
|
---|
176 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
177 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
178 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
179 | <TR ALIGN="center" VALIGN="top">
|
---|
180 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
181 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
182 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
183 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
184 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
185 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
186 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
187 | </TR>
|
---|
188 | </TABLE>
|
---|
189 | </TD>
|
---|
190 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
191 | </EM>
|
---|
192 | </TD>
|
---|
193 | </TR>
|
---|
194 |
|
---|
195 | <TR>
|
---|
196 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
197 | PREV CLASS
|
---|
198 | NEXT CLASS</FONT></TD>
|
---|
199 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
200 | <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
201 | <A HREF="DrawOperation.html" target="_top"><B>NO FRAMES</B></A>
|
---|
202 | <SCRIPT type="text/javascript">
|
---|
203 | <!--
|
---|
204 | if(window==top) {
|
---|
205 | document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
206 | }
|
---|
207 | //-->
|
---|
208 | </SCRIPT>
|
---|
209 | <NOSCRIPT>
|
---|
210 | <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
211 | </NOSCRIPT>
|
---|
212 |
|
---|
213 | </FONT></TD>
|
---|
214 | </TR>
|
---|
215 | <TR>
|
---|
216 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
217 | SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
218 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
219 | DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
220 | </TR>
|
---|
221 | </TABLE>
|
---|
222 | <A NAME="skip-navbar_bottom"></A>
|
---|
223 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
224 |
|
---|
225 | <HR>
|
---|
226 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
227 | </BODY>
|
---|
228 | </HTML>
|
---|