📄 literenderer.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/renderer/lite/LiteRenderer.html#isOptimizedDataLoadingEnabled()">isOptimizedDataLoadingEnabled</A></B>()</CODE><BR> <B>Deprecated.</B> Returns true if the optimized data loading is enabled, false otherwise. </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="../../../../org/geotools/renderer/lite/LiteRenderer.html#paint(java.awt.Graphics2D, java.awt.Rectangle, java.awt.geom.AffineTransform)">paint</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics2D.html" title="class or interface in java.awt">Graphics2D</A> graphics, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Rectangle.html" title="class or interface in java.awt">Rectangle</A> paintArea, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/AffineTransform.html" title="class or interface in java.awt.geom">AffineTransform</A> transform)</CODE><BR> <B>Deprecated.</B> Render features based on the LayerList, BoundBox and Style specified in this.context. </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="../../../../org/geotools/renderer/lite/LiteRenderer.html#paint(java.awt.Graphics2D, java.awt.Rectangle, com.vividsolutions.jts.geom.Envelope)">paint</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics2D.html" title="class or interface in java.awt">Graphics2D</A> graphics, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Rectangle.html" title="class or interface in java.awt">Rectangle</A> paintArea, <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html" title="class or interface in com.vividsolutions.jts.geom">Envelope</A> envelope)</CODE><BR> <B>Deprecated.</B> TODO summary sentence for paint ...</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Coordinate.html" title="class or interface in com.vividsolutions.jts.geom">Coordinate</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/renderer/lite/LiteRenderer.html#pixelToWorld(int, int, com.vividsolutions.jts.geom.Envelope)">pixelToWorld</A></B>(int x, int y, <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html" title="class or interface in com.vividsolutions.jts.geom">Envelope</A> map)</CODE><BR> <B>Deprecated.</B> Converts a coordinate expressed on the device space back to real world coordinates</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="../../../../org/geotools/renderer/lite/LiteRenderer.html#removeRenderListener(org.geotools.renderer.RenderListener)">removeRenderListener</A></B>(<A HREF="../../../../org/geotools/renderer/RenderListener.html" title="interface in org.geotools.renderer">RenderListener</A> listener)</CODE><BR> <B>Deprecated.</B> Removes a render listener.</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="../../../../org/geotools/renderer/lite/LiteRenderer.html#render(org.geotools.feature.FeatureCollection, com.vividsolutions.jts.geom.Envelope, org.geotools.styling.Style)">render</A></B>(<A HREF="../../../../org/geotools/feature/FeatureCollection.html" title="interface in org.geotools.feature">FeatureCollection</A> features, <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html" title="class or interface in com.vividsolutions.jts.geom">Envelope</A> map, <A HREF="../../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A> s)</CODE><BR> <B>Deprecated.</B> Performs the actual rendering process to the graphics context set in setOutput. </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="../../../../org/geotools/renderer/lite/LiteRenderer.html#setConcatTransforms(boolean)">setConcatTransforms</A></B>(boolean flag)</CODE><BR> <B>Deprecated.</B> Sets the flag which controls behaviour for applying affine transformation to the graphics object.</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="../../../../org/geotools/renderer/lite/LiteRenderer.html#setGeneralizationDistance(double)">setGeneralizationDistance</A></B>(double d)</CODE><BR> <B>Deprecated.</B> Sets the generalizazion distance in the screen space. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/renderer/lite/LiteRenderer.html#setImageLoadingTimeout(long)">setImageLoadingTimeout</A></B>(long newTimeout)</CODE><BR> <B>Deprecated.</B> Sets the maximum time to wait for getting an external image. </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="../../../../org/geotools/renderer/lite/LiteRenderer.html#setInteractive(boolean)">setInteractive</A></B>(boolean interactive)</CODE><BR> <B>Deprecated.</B> Sets the interactive status of the renderer. </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="../../../../org/geotools/renderer/lite/LiteRenderer.html#setMemoryPreloadingEnabled(boolean)">setMemoryPreloadingEnabled</A></B>(boolean enabled)</CODE><BR> <B>Deprecated.</B> </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="../../../../org/geotools/renderer/lite/LiteRenderer.html#setOptimizedDataLoadingEnabled(boolean)">setOptimizedDataLoadingEnabled</A></B>(boolean b)</CODE><BR> <B>Deprecated.</B> Enables/disable optimized data loading</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="../../../../org/geotools/renderer/lite/LiteRenderer.html#setOutput(java.awt.Graphics, java.awt.Rectangle)">setOutput</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics.html" title="class or interface in java.awt">Graphics</A> g, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Rectangle.html" title="class or interface in java.awt">Rectangle</A> bounds)</CODE><BR> <B>Deprecated.</B> <I>Graphics and bounds is to be set in renderer().</I></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="../../../../org/geotools/renderer/lite/LiteRenderer.html#setRenderingHint(java.awt.RenderingHints.Key, java.lang.Object)">setRenderingHint</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/RenderingHints.Key.html" title="class or interface in java.awt">RenderingHints.Key</A> key, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value)</CODE><BR> <B>Deprecated.</B> </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="../../../../org/geotools/renderer/lite/LiteRenderer.html#setRenderingHints(java.awt.RenderingHints)">setRenderingHints</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/RenderingHints.html" title="class or interface in java.awt">RenderingHints</A> hints)</CODE><BR> <B>Deprecated.</B> </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="../../../../org/geotools/renderer/lite/LiteRenderer.html#setScaleDenominator(double)">setScaleDenominator</A></B>(double scaleDenominator)</CODE><BR> <B>Deprecated.</B> Setter for property scaleDenominator.</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="../../../../org/geotools/renderer/lite/LiteRenderer.html#setTexture(java.awt.Graphics2D, org.geotools.styling.Graphic, org.geotools.feature.Feature)">setTexture</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics2D.html" title="class or interface in java.awt">Graphics2D</A> graphic, <A HREF="../../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A> gr, <A HREF="../../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A> feature)</CODE><BR> <B>Deprecated.</B> Sets a texture on the current graphics2D</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="../../../../org/geotools/renderer/lite/LiteRenderer.html#stopRendering()">stopRendering</A></B>()</CODE><BR> <B>Deprecated.</B> If you call this method from another thread than the one that called <code>paint</code> or <code>render</code> the rendering will be forcefully stopped before termination</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/AffineTransform.html" title="class or interface in java.awt.geom">AffineTransform</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/renderer/lite/LiteRenderer.html#worldToScreenTransform(com.vividsolutions.jts.geom.Envelope, java.awt.Rectangle)">worldToScreenTransform</A></B>(<A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html" title="class or interface in com.vividsolutions.jts.geom">Envelope</A> mapExtent, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Rectangle.html" title="class or interface in java.awt">Rectangle</A> screenSize)</CODE><BR> <B>Deprecated.</B> Sets up the affine transform</TD></TR></TABLE> <A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></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"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="DEFAULT_LISTENER"><!-- --></A><H3>DEFAULT_LISTENER</H3><PRE>public static final LiteRenderer.DefaultRenderListener <B>DEFAULT_LISTENER</B></PRE><DL><DD><B>Deprecated.</B> <DD>This listener is added to the list of listeners automatically. It should be removed if the default logging is not needed.<P><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"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="LiteRenderer()"><!-- --></A><H3>LiteRenderer</H3><PRE>public <B>LiteRenderer</B>()</PRE><DL><DD><B>Deprecated.</B> <DD>Creates a new instance of LiteRenderer without a context. Use it only to gain access to utility methods of this class or if you want to render random feature collections instead of using the map context interface<P></DL><HR><A NAME="LiteRenderer(org.geotools.map.MapContext)"><!-- --></A><H3>LiteRenderer</H3><PRE>public <B>LiteRenderer</B>(<A HREF="../../../../org/geotools/map/MapContext.html" title="interface in org.geotools.map">MapContext</A> context)</PRE><DL><DD><B>Deprecated.</B> <DD>Creates a new instance of Java2DRenderer.<P><DT><B>Parameters:</B><DD><CODE>context</CODE> - Contains pointers to layers, bounding box, and style required for rendering.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="setConcatTransforms(boolean)"><!-- --></A><H3>setConcatTransforms</H3><PRE>public void <B>setConcatTransforms</B>(boolean flag)</PRE><DL><DD><B>Deprecated.</B> <DD>Sets the flag which controls behaviour for applying affine transformation to the graphics object.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - If true then the transform will be concatenated to the existing transform. If false it will be replaced.</DL></DD></DL><HR><A NAME="getImageLoadingTimeout()"><!-- --></A><H3>getImageLoadingTimeout</H3><PRE>public static long <B>getImageLoadingTimeout</B>()</PRE><DL><DD><B>Deprecated.</B> <DD>Returns the amount of time the renderer waits for loading an external image before giving up and examining the other images in the Graphic object<P>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -