📄 geotoolsreadparams.html
字号:
<!-- ========= 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="GeoToolsReadParams()"><!-- --></A><H3>GeoToolsReadParams</H3><PRE>public <B>GeoToolsReadParams</B>()</PRE><DL><DD>Default contructor.<P></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="getTileWidth()"><!-- --></A><H3>getTileWidth</H3><PRE>public int <B>getTileWidth</B>()</PRE><DL><DD>Returns the width of each tile in an raster as it will be reader If tiling parameters have not been set, an <code>IllegalStateException</code> is thrown.<P><DD><DL><DT><B>Returns:</B><DD>the tile width to be used for decoding.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the tiling parameters have not been set.<DT><B>See Also:</B><DD><CODE>#setTiling(int, int, int, int)</CODE>, <A HREF="../../../../org/geotools/image/imageio/GeoToolsReadParams.html#getTileHeight()"><CODE>getTileHeight()</CODE></A></DL></DD></DL><HR><A NAME="getTileHeight()"><!-- --></A><H3>getTileHeight</H3><PRE>public int <B>getTileHeight</B>()</PRE><DL><DD>Returns the width of each tile in an raster as it will be reader If tiling parameters have not been set, an <code>IllegalStateException</code> is thrown.<P><DD><DL><DT><B>Returns:</B><DD>the tile height to be used for decoding.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the tiling parameters have not been set.<DT><B>See Also:</B><DD><CODE>#setTiling(int, int, int, int)</CODE>, <A HREF="../../../../org/geotools/image/imageio/GeoToolsReadParams.html#getTileWidth()"><CODE>getTileWidth()</CODE></A></DL></DD></DL><HR><A NAME="setTiling(int, int)"><!-- --></A><H3>setTiling</H3><PRE>public void <B>setTiling</B>(int tileWidth, int tileHeight)</PRE><DL><DD>Specifies that the image should be tiled. The <code>tileWidth</code> and <code>tileHeight</code> parameters specify the width and height of the tiles in memory. If the tile width or height is greater than the width or height of the image, the image is not tiled in that dimension.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>tileWidth</CODE> - the width of each tile.<DD><CODE>tileHeight</CODE> - the height of each tile.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the tile size is not within one of the allowable ranges returned by <code>getPreferredTileSizes</code>.<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if <code>tileWidth</code> or <code>tileHeight</code> is less than or equal to 0.<DT><B>See Also:</B><DD><CODE>#canWriteTiles</CODE>, <CODE>#canOffsetTiles</CODE>, <A HREF="../../../../org/geotools/image/imageio/GeoToolsReadParams.html#getTileWidth()"><CODE>getTileWidth()</CODE></A>, <A HREF="../../../../org/geotools/image/imageio/GeoToolsReadParams.html#getTileHeight()"><CODE>getTileHeight()</CODE></A>, <CODE>#getTileGridXOffset()</CODE>, <CODE>#getTileGridYOffset()</CODE></DL></DD></DL><HR><A NAME="getPreferredTileSizes()"><!-- --></A><H3>getPreferredTileSizes</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Dimension.html" title="class or interface in java.awt">Dimension</A>[] <B>getPreferredTileSizes</B>()</PRE><DL><DD>Returns an array of <code>Dimension</code>s indicating the legal size ranges for tiles. The returned array is a copy. <p> The information is returned as a set of pairs; the first element of a pair contains an (inclusive) minimum width and height, and the second element contains an (inclusive) maximum width and height. Together, each pair defines a valid range of sizes. To specify a fixed size, use the same width and height for both elements. To specify an arbitrary range, a value of <code>null</code> is used in place of an actual array of <code>Dimension</code>s. <p> If no array is specified on the constructor, but tiling is allowed, then this method returns <code>null</code>.<P><DD><DL><DT><B>Returns:</B><DD>an array of <code>Dimension</code>s with an even length of at least two, or <code>null</code>.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - if the plug-in does not support tiling.</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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/GeoToolsReadParams.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"> PREV CLASS <A HREF="../../../../org/geotools/image/imageio/GeoToolsWriteParams.html" title="class in org.geotools.image.imageio"><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> <A HREF="GeoToolsReadParams.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><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 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 + -