📄 package-summary.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.4.2_13) on Tue Jun 05 11:36:16 GMT-05:00 2007 --><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><TITLE>org.geotools.display.canvas (Geotools 2.3.x 2.3.2 API)</TITLE><META NAME="keywords" CONTENT="org.geotools.display.canvas package"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="org.geotools.display.canvas (Geotools 2.3.x 2.3.2 API)";}</SCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" 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_top_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="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.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="../../../../org/geotools/demo/mappane/package-summary.html"><B>PREV PACKAGE</B></A> <A HREF="../../../../org/geotools/display/canvas/map/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="package-summary.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></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><H2>Package org.geotools.display.canvas</H2>Geotools implementation of GO-1 Canvas. <P><B>See:</B><BR> <A HREF="#package_description"><B>Description</B></A><P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Class Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html" title="class in org.geotools.display.canvas">AbstractCanvas</A></B></TD><TD>Manages the display and user manipulation of <CODE>Graphic</CODE> instances. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../../../org/geotools/display/canvas/AbstractGraphic.html" title="class in org.geotools.display.canvas">AbstractGraphic</A></B></TD><TD>The root abstraction of a graphic object taxonomy, specifying the methods common to a lightweight set of graphic objects.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../../../org/geotools/display/canvas/BufferedCanvas2D.html" title="class in org.geotools.display.canvas">BufferedCanvas2D</A></B></TD><TD>Default canvas implementation using <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics2D.html" title="class or interface in java.awt"><CODE>Graphics2D</CODE></A>. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../../../org/geotools/display/canvas/DefaultCanvasState.html" title="class in org.geotools.display.canvas">DefaultCanvasState</A></B></TD><TD>Describes the current state of a <CODE>Canvas</CODE>. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../../../org/geotools/display/canvas/DisplayObject.html" title="class in org.geotools.display.canvas">DisplayObject</A></B></TD><TD>The base class for <A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html" title="class in org.geotools.display.canvas">canvas</A> and <A HREF="../../../../org/geotools/display/canvas/AbstractGraphic.html" title="class in org.geotools.display.canvas">graphic primitives</A>. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../../../org/geotools/display/canvas/GraphicPrimitive2D.html" title="class in org.geotools.display.canvas">GraphicPrimitive2D</A></B></TD><TD>Base class for Geotools implementations of <CODE>Graphic</CODE> primitives. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../../../org/geotools/display/canvas/ImageType.html" title="class in org.geotools.display.canvas">ImageType</A></B></TD><TD>The image type for offscreen buffer. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../../../org/geotools/display/canvas/ReferencedCanvas.html" title="class in org.geotools.display.canvas">ReferencedCanvas</A></B></TD><TD>A canvas implementation with default support for Coordinate Reference System (CRS) management. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../../../org/geotools/display/canvas/ReferencedCanvas2D.html" title="class in org.geotools.display.canvas">ReferencedCanvas2D</A></B></TD><TD>A canvas implementation with default support for two-dimensional CRS management. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../../../org/geotools/display/canvas/ReferencedGraphic.html" title="class in org.geotools.display.canvas">ReferencedGraphic</A></B></TD><TD>A graphic implementation with default support for Coordinate Reference System (CRS) management. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../../../org/geotools/display/canvas/ReferencedGraphic2D.html" title="class in org.geotools.display.canvas">ReferencedGraphic2D</A></B></TD><TD>A graphic implementation with specialized support for two-dimensional CRS. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="../../../../org/geotools/display/canvas/RenderingContext.html" title="class in org.geotools.display.canvas">RenderingContext</A></B></TD><TD>Informations relative to a rendering in progress. </TD></TR></TABLE> <P><A NAME="package_description"><!-- --></A><H2>Package org.geotools.display.canvas Description</H2><P>Geotools implementation of GO-1 Canvas. An explanation for this package is provided in the OpenGIS® javadoc. The remaining discussion on this page is specific to the Geotools implementation. <P ALIGN="justify">A <A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html" title="class in org.geotools.display.canvas">canvas</A> contains one ore more <A HREF="../../../../org/geotools/display/canvas/AbstractGraphic.html" title="class in org.geotools.display.canvas">graphic primitives</A>. A graphic primitive may be an image, a geometric shape, a collection of symbols, <cite>etc.</cite> Since this package can't cover all possible usages, most classes are designed with subclassing in mind. In the particular case of rendering targeting a <cite>Java2D</cite> output device, every kind of graphic primitive is handled by a specialized subclass (<CODE>org.geotools.display.primitive.GraphicImage2D</CODE>, <CODE>org.geotools.display.primitive.GraphicPolygon2D</CODE>, <cite>etc.</cite>) extending <A HREF="../../../../org/geotools/display/canvas/GraphicPrimitive2D.html" title="class in org.geotools.display.canvas"><CODE>GraphicPrimitive2D</CODE></A>. The first concrete canvas class capable to manage those graphic primitives is <A HREF="../../../../org/geotools/display/canvas/BufferedCanvas2D.html" title="class in org.geotools.display.canvas"><CODE>BufferedCanvas2D</CODE></A>.</P> <P> </P> <H2>Coordinate Reference Systems</H2> <P ALIGN="justify">The base classes (up to <A HREF="../../../../org/geotools/display/canvas/ReferencedCanvas.html" title="class in org.geotools.display.canvas"><CODE>ReferencedCanvas</CODE></A> and its <A HREF="../../../../org/geotools/display/canvas/ReferencedGraphic.html" title="class in org.geotools.display.canvas"><CODE>ReferencedGraphic</CODE></A> counterpart) do not assume a two-dimensional rendering. They should be usable for a 3D rendering engine as well. The first subclasses targeting specifically a 2D rendering are <A HREF="../../../../org/geotools/display/canvas/ReferencedCanvas2D.html" title="class in org.geotools.display.canvas"><CODE>ReferencedCanvas2D</CODE></A> and its <A HREF="../../../../org/geotools/display/canvas/ReferencedGraphic2D.html" title="class in org.geotools.display.canvas"><CODE>ReferencedGraphic2D</CODE></A> counterpart.</P> <P ALIGN="justify">In Geotools implementation, there is four coordinate reference systems involved in rendering. <A HREF="../../../../org/geotools/display/canvas/AbstractCanvas.html" title="class in org.geotools.display.canvas"><CODE>AbstractCanvas</CODE></A> declares abstract methods for three of them, but the actual CRS management is performed in the <A HREF="../../../../org/geotools/display/canvas/ReferencedCanvas.html" title="class in org.geotools.display.canvas"><CODE>ReferencedCanvas</CODE></A> subclass. The CRS are enumerated below (arrows are transforms):</P>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -