Statistics
| Revision:

root / trunk / docs / FMap / fmap-api / com / iver / cit / gvsig / fmap / rendering / FStyledShapePainter.html @ 11445

History | View | Annotate | Download (10.6 KB)

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_04) on Mon Feb 14 08:45:52 CET 2005 -->
6
<TITLE>
7
FStyledShapePainter (FMap API)
8
</TITLE>
9

    
10
<META NAME="keywords" CONTENT="com.iver.cit.gvsig.fmap.rendering.FStyledShapePainter class">
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="FStyledShapePainter (FMap 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>&nbsp;</TD>
36
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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
&nbsp;<A HREF="../../../../../../com/iver/cit/gvsig/fmap/rendering/FInterval.html" title="class in com.iver.cit.gvsig.fmap.rendering"><B>PREV CLASS</B></A>&nbsp;
53
&nbsp;<A HREF="../../../../../../com/iver/cit/gvsig/fmap/rendering/IntervalLegendEvent.html" title="class in com.iver.cit.gvsig.fmap.rendering"><B>NEXT CLASS</B></A></FONT></TD>
54
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
55
  <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
56
&nbsp;<A HREF="FStyledShapePainter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
57
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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
com.iver.cit.gvsig.fmap.rendering</FONT>
85
<BR>
86
Class FStyledShapePainter</H2>
87
<PRE>
88
java.lang.Object
89
  <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><B>com.iver.cit.gvsig.fmap.rendering.FStyledShapePainter</B>
90
</PRE>
91
<HR>
92
<DL>
93
<DT>public class <B>FStyledShapePainter</B><DT>extends java.lang.Object</DL>
94

    
95
<P>
96
A simple class that knows how to paint a Shape object onto a Graphic given a
97
 Style2D. It's the last step of the rendering engine, and has been factored
98
 out since both renderers do use the same painting logic.
99
<P>
100

    
101
<P>
102
<DL>
103
<DT><B>Author:</B></DT>
104
  <DD>Andrea Aime</DD>
105
</DL>
106
<HR>
107

    
108
<P>
109
<!-- ======== NESTED CLASS SUMMARY ======== -->
110

    
111

    
112
<!-- =========== FIELD SUMMARY =========== -->
113

    
114

    
115
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
116

    
117
<A NAME="constructor_summary"><!-- --></A>
118
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
119
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
120
<TD COLSPAN=2><FONT SIZE="+2">
121
<B>Constructor Summary</B></FONT></TD>
122
</TR>
123
<TR BGCOLOR="white" CLASS="TableRowColor">
124
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/rendering/FStyledShapePainter.html#FStyledShapePainter()">FStyledShapePainter</A></B>()</CODE>
125

    
126
<BR>
127
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
128
</TR>
129
</TABLE>
130
&nbsp;
131
<!-- ========== METHOD SUMMARY =========== -->
132

    
133
<A NAME="method_summary"><!-- --></A>
134
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
135
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
136
<TD COLSPAN=2><FONT SIZE="+2">
137
<B>Method Summary</B></FONT></TD>
138
</TR>
139
<TR BGCOLOR="white" CLASS="TableRowColor">
140
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
141
<CODE>&nbsp;void</CODE></FONT></TD>
142
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/rendering/FStyledShapePainter.html#paint(java.awt.Graphics2D, java.awt.Shape, Style2D, double)">paint</A></B>(java.awt.Graphics2D&nbsp;graphics,
143
      java.awt.Shape&nbsp;shape,
144
      Style2D&nbsp;style,
145
      double&nbsp;scale)</CODE>
146

    
147
<BR>
148
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invoked automatically when a polyline is about to be draw. </TD>
149
</TR>
150
</TABLE>
151
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
152
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
153
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
154
<TD><B>Methods inherited from class java.lang.Object</B></TD>
155
</TR>
156
<TR BGCOLOR="white" CLASS="TableRowColor">
157
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
158
</TR>
159
</TABLE>
160
&nbsp;
161
<P>
162

    
163
<!-- ============ FIELD DETAIL =========== -->
164

    
165

    
166
<!-- ========= CONSTRUCTOR DETAIL ======== -->
167

    
168
<A NAME="constructor_detail"><!-- --></A>
169
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
170
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
171
<TD COLSPAN=1><FONT SIZE="+2">
172
<B>Constructor Detail</B></FONT></TD>
173
</TR>
174
</TABLE>
175

    
176
<A NAME="FStyledShapePainter()"><!-- --></A><H3>
177
FStyledShapePainter</H3>
178
<PRE>
179
public <B>FStyledShapePainter</B>()</PRE>
180
<DL>
181
</DL>
182

    
183
<!-- ============ METHOD DETAIL ========== -->
184

    
185
<A NAME="method_detail"><!-- --></A>
186
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
187
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
188
<TD COLSPAN=1><FONT SIZE="+2">
189
<B>Method Detail</B></FONT></TD>
190
</TR>
191
</TABLE>
192

    
193
<A NAME="paint(java.awt.Graphics2D, java.awt.Shape, Style2D, double)"><!-- --></A><H3>
194
paint</H3>
195
<PRE>
196
public void <B>paint</B>(java.awt.Graphics2D&nbsp;graphics,
197
                  java.awt.Shape&nbsp;shape,
198
                  Style2D&nbsp;style,
199
                  double&nbsp;scale)</PRE>
200
<DL>
201
<DD>Invoked automatically when a polyline is about to be draw. This
202
 implementation paints the polyline according to the rendered style
203
<P>
204
<DD><DL>
205
<DT><B>Parameters:</B><DD><CODE>graphics</CODE> - The graphics in which to draw.<DD><CODE>shape</CODE> - The polyline to draw.<DD><CODE>style</CODE> - The style to apply, or <code>null</code> if none.<DD><CODE>scale</CODE> - The scale denominator for the current zoom level</DL>
206
</DD>
207
</DL>
208
<!-- ========= END OF CLASS DATA ========= -->
209
<HR>
210

    
211

    
212
<!-- ======= START OF BOTTOM NAVBAR ====== -->
213
<A NAME="navbar_bottom"><!-- --></A>
214
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
215
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
216
<TR>
217
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
218
<A NAME="navbar_bottom_firstrow"><!-- --></A>
219
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
220
  <TR ALIGN="center" VALIGN="top">
221
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
222
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
223
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
224
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
225
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
226
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
227
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
228
  </TR>
229
</TABLE>
230
</TD>
231
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
232
</EM>
233
</TD>
234
</TR>
235

    
236
<TR>
237
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
238
&nbsp;<A HREF="../../../../../../com/iver/cit/gvsig/fmap/rendering/FInterval.html" title="class in com.iver.cit.gvsig.fmap.rendering"><B>PREV CLASS</B></A>&nbsp;
239
&nbsp;<A HREF="../../../../../../com/iver/cit/gvsig/fmap/rendering/IntervalLegendEvent.html" title="class in com.iver.cit.gvsig.fmap.rendering"><B>NEXT CLASS</B></A></FONT></TD>
240
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
241
  <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
242
&nbsp;<A HREF="FStyledShapePainter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
243
&nbsp;<SCRIPT type="text/javascript">
244
  <!--
245
  if(window==top) {
246
    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
247
  }
248
  //-->
249
</SCRIPT>
250
<NOSCRIPT>
251
  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
252
</NOSCRIPT>
253

    
254
</FONT></TD>
255
</TR>
256
<TR>
257
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
258
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
259
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
260
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
261
</TR>
262
</TABLE>
263
<A NAME="skip-navbar_bottom"></A>
264
<!-- ======== END OF BOTTOM NAVBAR ======= -->
265

    
266
<HR>
267

    
268
</BODY>
269
</HTML>