⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gtrenderer.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ 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="stopRendering()"><!-- --></A><H3>stopRendering</H3><PRE>public void <B>stopRendering</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="addRenderListener(org.geotools.renderer.RenderListener)"><!-- --></A><H3>addRenderListener</H3><PRE>public void <B>addRenderListener</B>(<A HREF="../../../org/geotools/renderer/RenderListener.html" title="interface in org.geotools.renderer">RenderListener</A>&nbsp;listener)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="removeRenderListener(org.geotools.renderer.RenderListener)"><!-- --></A><H3>removeRenderListener</H3><PRE>public void <B>removeRenderListener</B>(<A HREF="../../../org/geotools/renderer/RenderListener.html" title="interface in org.geotools.renderer">RenderListener</A>&nbsp;listener)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setJava2DHints(java.awt.RenderingHints)"><!-- --></A><H3>setJava2DHints</H3><PRE>public void <B>setJava2DHints</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>&nbsp;hints)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getJava2DHints()"><!-- --></A><H3>getJava2DHints</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/RenderingHints.html" title="class or interface in java.awt">RenderingHints</A> <B>getJava2DHints</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setRendererHints(java.util.Map)"><!-- --></A><H3>setRendererHints</H3><PRE>public void <B>setRendererHints</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A>&nbsp;hints)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getRendererHints()"><!-- --></A><H3>getRendererHints</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> <B>getRendererHints</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setContext(org.geotools.map.MapContext)"><!-- --></A><H3>setContext</H3><PRE>public void <B>setContext</B>(<A HREF="../../../org/geotools/map/MapContext.html" title="interface in org.geotools.map">MapContext</A>&nbsp;context)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getContext()"><!-- --></A><H3>getContext</H3><PRE>public <A HREF="../../../org/geotools/map/MapContext.html" title="interface in org.geotools.map">MapContext</A> <B>getContext</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="paint(java.awt.Graphics2D, java.awt.Rectangle, java.awt.geom.AffineTransform)"><!-- --></A><H3>paint</H3><PRE>public void <B>paint</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>&nbsp;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>&nbsp;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>&nbsp;worldToScreen)</PRE><DL><DD>Renders features based on the map layers and their styles as specified in the map context using <code>setContext</code>. <p/> This version of the method assumes that the size of the output area and the transformation from coordinates to pixels are known. The latter determines the map scale. The viewport (the visible part of the map) will be calculated internally.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>graphics</CODE> - The graphics object to draw to.<DD><CODE>paintArea</CODE> - The size of the output area in output units (eg: pixels).<DD><CODE>worldToScreen</CODE> - A transform which converts World coordinates to Screen coordinates.<DT><B>'TODO:'</B></DT>  <DD>Need to check if the Layer CoordinateSystem is different to the BoundingBox rendering       CoordinateSystem and if so, then transform the coordinates.</DD></DL></DD></DL><HR><A NAME="paint(java.awt.Graphics2D, java.awt.Rectangle, com.vividsolutions.jts.geom.Envelope)"><!-- --></A><H3>paint</H3><PRE>public void <B>paint</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>&nbsp;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>&nbsp;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>&nbsp;mapArea)</PRE><DL><DD>Renders features based on the map layers and their styles as specified in the map context using <code>setContext</code>. <p/> This version of the method assumes that the area of the visible part of the map and the size of the output area are known. The transform between the two is calculated internally.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>graphics</CODE> - The graphics object to draw to.<DD><CODE>paintArea</CODE> - The size of the output area in output units (eg: pixels).<DD><CODE>mapArea</CODE> - the map's visible area (viewport) in map coordinates.</DL></DD></DL><HR><A NAME="paint(java.awt.Graphics2D, java.awt.Rectangle, org.geotools.geometry.jts.ReferencedEnvelope)"><!-- --></A><H3>paint</H3><PRE>public void <B>paint</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>&nbsp;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>&nbsp;paintArea,                  <A HREF="../../../org/geotools/geometry/jts/ReferencedEnvelope.html" title="class in org.geotools.geometry.jts">ReferencedEnvelope</A>&nbsp;mapArea)</PRE><DL><DD>Renders features based on the map layers and their styles as specified in the map context using <code>setContext</code>. <p/> This version of the method assumes that the area of the visible part of the map and the size of the output area are known. The transform between the two is calculated internally.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>graphics</CODE> - The graphics object to draw to.<DD><CODE>paintArea</CODE> - The size of the output area in output units (eg: pixels).<DD><CODE>mapArea</CODE> - the map's visible area (viewport) in map coordinates.</DL></DD></DL><HR><A NAME="paint(java.awt.Graphics2D, java.awt.Rectangle, com.vividsolutions.jts.geom.Envelope, java.awt.geom.AffineTransform)"><!-- --></A><H3>paint</H3><PRE>public void <B>paint</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>&nbsp;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>&nbsp;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>&nbsp;mapArea,                  <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>&nbsp;worldToScreen)</PRE><DL><DD>Renders features based on the map layers and their styles as specified in the map context using <code>setContext</code>. <p/> This version of the method assumes that paint area, enelope and worldToScreen transform are already computed and in sync. Use this method to avoid recomputation. <b>Note however that no check is performed that they are really synchronized!<b/><P><DD><DL><DT><B>Parameters:</B><DD><CODE>graphics</CODE> - The graphics object to draw to.<DD><CODE>paintArea</CODE> - The size of the output area in output units (eg: pixels).<DD><CODE>mapArea</CODE> - the map's visible area (viewport) in map coordinates.<DD><CODE>worldToScreen</CODE> - A transform which converts World coordinates to Screen coordinates.</DL></DD></DL><HR><A NAME="paint(java.awt.Graphics2D, java.awt.Rectangle, org.geotools.geometry.jts.ReferencedEnvelope, java.awt.geom.AffineTransform)"><!-- --></A><H3>paint</H3><PRE>public void <B>paint</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>&nbsp;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>&nbsp;paintArea,                  <A HREF="../../../org/geotools/geometry/jts/ReferencedEnvelope.html" title="class in org.geotools.geometry.jts">ReferencedEnvelope</A>&nbsp;mapArea,                  <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>&nbsp;worldToScreen)</PRE><DL><DD>Renders features based on the map layers and their styles as specified in the map context using <code>setContext</code>. <p/> This version of the method assumes that paint area, enelope and worldToScreen transform are already computed and in sync. Use this method to avoid recomputation. <b>Note however that no check is performed that they are really synchronized!<b/><P><DD><DL><DT><B>Parameters:</B><DD><CODE>graphics</CODE> - The graphics object to draw to.<DD><CODE>paintArea</CODE> - The size of the output area in output units (eg: pixels).<DD><CODE>mapArea</CODE> - the map's visible area (viewport) in map coordinates.<DD><CODE>worldToScreen</CODE> - A transform which converts World coordinates to Screen            coordinates.</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=3 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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/GTRenderer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV CLASS&nbsp;&nbsp;<A HREF="../../../org/geotools/renderer/Renderer.html" title="interface in org.geotools.renderer"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="GTRenderer.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright &copy; 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -