| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <TITLE> |
| SimpleRenderedImage (Apache Batik Javadoc) |
| </TITLE> |
| |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="SimpleRenderedImage (Apache Batik Javadoc)"; |
| } |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| <HR> |
| |
| |
| <!-- ========= 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=2 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="#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/SimpleRenderedImage.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-files/index-1.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/apache/batik/ext/awt/image/codec/util/SeekableStream.html" title="class in org.apache.batik.ext.awt.image.codec.util"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SingleTileRenderedImage.html" title="class in org.apache.batik.ext.awt.image.codec.util"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../../../index.html?org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="SimpleRenderedImage.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_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.batik.ext.awt.image.codec.util</FONT> |
| <BR> |
| Class SimpleRenderedImage</H2> |
| <PRE> |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
| <IMG SRC="../../../../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.batik.ext.awt.image.codec.util.SimpleRenderedImage</B> |
| </PRE> |
| <DL> |
| <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A></DD> |
| </DL> |
| <DL> |
| <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SingleTileRenderedImage.html" title="class in org.apache.batik.ext.awt.image.codec.util">SingleTileRenderedImage</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public abstract class <B>SimpleRenderedImage</B><DT>extends <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A></DL> |
| </PRE> |
| |
| <P> |
| A simple class implemented the <code>RenderedImage</code> |
| interface. Only the <code>getTile()</code> method needs to be |
| implemented by subclasses. The instance variables must also be |
| filled in properly. |
| |
| <p> Normally in JAI <code>PlanarImage</code> is used for this |
| purpose, but in the interest of modularity the |
| use of <code>PlanarImage</code> has been avoided. |
| <P> |
| |
| <P> |
| <HR> |
| |
| <P> |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Field Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#colorModel">colorModel</A></B></CODE> |
| |
| <BR> |
| The image's ColorModel.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#height">height</A></B></CODE> |
| |
| <BR> |
| The image's height in pixels.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#minX">minX</A></B></CODE> |
| |
| <BR> |
| The X coordinate of the image's upper-left pixel.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#minY">minY</A></B></CODE> |
| |
| <BR> |
| The Y coordinate of the image's upper-left pixel.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#properties">properties</A></B></CODE> |
| |
| <BR> |
| A Hashtable containing the image properties.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/SampleModel.html?is-external=true" title="class or interface in java.awt.image">SampleModel</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#sampleModel">sampleModel</A></B></CODE> |
| |
| <BR> |
| The image's SampleModel.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#sources">sources</A></B></CODE> |
| |
| <BR> |
| The image's sources, stored in a Vector.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#tileGridXOffset">tileGridXOffset</A></B></CODE> |
| |
| <BR> |
| The X coordinate of the upper-left pixel of tile (0, 0).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#tileGridYOffset">tileGridYOffset</A></B></CODE> |
| |
| <BR> |
| The Y coordinate of the upper-left pixel of tile (0, 0).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#tileHeight">tileHeight</A></B></CODE> |
| |
| <BR> |
| The height of a tile.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#tileWidth">tileWidth</A></B></CODE> |
| |
| <BR> |
| The width of a tile.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#width">width</A></B></CODE> |
| |
| <BR> |
| The image's width in pixels.</TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Constructor Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#SimpleRenderedImage()">SimpleRenderedImage</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#copyData(java.awt.image.WritableRaster)">copyData</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> dest)</CODE> |
| |
| <BR> |
| Copies an arbitrary rectangular region of the RenderedImage |
| into a caller-supplied WritableRaster.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getBounds()">getBounds</A></B>()</CODE> |
| |
| <BR> |
| Returns a Rectangle indicating the image bounds.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getColorModel()">getColorModel</A></B>()</CODE> |
| |
| <BR> |
| Returns the ColorModel of the image.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/Raster.html?is-external=true" title="class or interface in java.awt.image">Raster</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getData()">getData</A></B>()</CODE> |
| |
| <BR> |
| Returns the entire image in a single Raster.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/Raster.html?is-external=true" title="class or interface in java.awt.image">Raster</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getData(java.awt.Rectangle)">getData</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A> bounds)</CODE> |
| |
| <BR> |
| Returns an arbitrary rectangular region of the RenderedImage |
| in a Raster.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getHeight()">getHeight</A></B>()</CODE> |
| |
| <BR> |
| Returns the height of the image.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getMaxTileX()">getMaxTileX</A></B>()</CODE> |
| |
| <BR> |
| Returns the horizontal index of the rightmost column of tiles.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getMaxTileY()">getMaxTileY</A></B>()</CODE> |
| |
| <BR> |
| Returns the vertical index of the bottom row of tiles.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getMaxX()">getMaxX</A></B>()</CODE> |
| |
| <BR> |
| Returns the X coordinate of the column immediatetely to the |
| right of the rightmost column of the image.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getMaxY()">getMaxY</A></B>()</CODE> |
| |
| <BR> |
| Returns the Y coordinate of the row immediately below the |
| bottom row of the image.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getMinTileX()">getMinTileX</A></B>()</CODE> |
| |
| <BR> |
| Returns the horizontal index of the leftmost column of tiles.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getMinTileY()">getMinTileY</A></B>()</CODE> |
| |
| <BR> |
| Returns the vertical index of the uppermost row of tiles.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getMinX()">getMinX</A></B>()</CODE> |
| |
| <BR> |
| Returns the X coordinate of the leftmost column of the image.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getMinY()">getMinY</A></B>()</CODE> |
| |
| <BR> |
| Returns the X coordinate of the uppermost row of the image.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getNumXTiles()">getNumXTiles</A></B>()</CODE> |
| |
| <BR> |
| Returns the number of tiles along the tile grid in the |
| horizontal direction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getNumYTiles()">getNumYTiles</A></B>()</CODE> |
| |
| <BR> |
| Returns the number of tiles along the tile grid in the vertical |
| direction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getProperty(java.lang.String)">getProperty</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> |
| |
| <BR> |
| Gets a property from the property set of this image.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getPropertyNames()">getPropertyNames</A></B>()</CODE> |
| |
| <BR> |
| Returns a list of the properties recognized by this image.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getPropertyNames(java.lang.String)">getPropertyNames</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> prefix)</CODE> |
| |
| <BR> |
| Returns an array of <code>String</code>s recognized as names by |
| this property source that begin with the supplied prefix.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/SampleModel.html?is-external=true" title="class or interface in java.awt.image">SampleModel</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getSampleModel()">getSampleModel</A></B>()</CODE> |
| |
| <BR> |
| Returns the SampleModel of the image.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getSources()">getSources</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getTileGridXOffset()">getTileGridXOffset</A></B>()</CODE> |
| |
| <BR> |
| Returns the X coordinate of the upper-left pixel of tile (0, 0).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getTileGridYOffset()">getTileGridYOffset</A></B>()</CODE> |
| |
| <BR> |
| Returns the Y coordinate of the upper-left pixel of tile (0, 0).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getTileHeight()">getTileHeight</A></B>()</CODE> |
| |
| <BR> |
| Returns the height of a tile.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getTileWidth()">getTileWidth</A></B>()</CODE> |
| |
| <BR> |
| Returns the width of a tile.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#getWidth()">getWidth</A></B>()</CODE> |
| |
| <BR> |
| Returns the width of the image.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#tileXToX(int)">tileXToX</A></B>(int tx)</CODE> |
| |
| <BR> |
| Converts a horizontal tile index into the X coordinate of its |
| upper left pixel.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#tileXToX(int, int, int)">tileXToX</A></B>(int tx, |
| int tileGridXOffset, |
| int tileWidth)</CODE> |
| |
| <BR> |
| Converts a horizontal tile index into the X coordinate of its |
| upper left pixel relative to a given tile grid layout specified |
| by its X offset and tile width.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#tileYToY(int)">tileYToY</A></B>(int ty)</CODE> |
| |
| <BR> |
| Converts a vertical tile index into the Y coordinate of its |
| upper left pixel.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#tileYToY(int, int, int)">tileYToY</A></B>(int ty, |
| int tileGridYOffset, |
| int tileHeight)</CODE> |
| |
| <BR> |
| Converts a vertical tile index into the Y coordinate of |
| its upper left pixel relative to a given tile grid layout |
| specified by its Y offset and tile height.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#XToTileX(int)">XToTileX</A></B>(int x)</CODE> |
| |
| <BR> |
| Converts a pixel's X coordinate into a horizontal tile index.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#XToTileX(int, int, int)">XToTileX</A></B>(int x, |
| int tileGridXOffset, |
| int tileWidth)</CODE> |
| |
| <BR> |
| Converts a pixel's X coordinate into a horizontal tile index |
| relative to a given tile grid layout specified by its X offset |
| and tile width.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#YToTileY(int)">YToTileY</A></B>(int y)</CODE> |
| |
| <BR> |
| Converts a pixel's Y coordinate into a vertical tile index.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html#YToTileY(int, int, int)">YToTileY</A></B>(int y, |
| int tileGridYOffset, |
| int tileHeight)</CODE> |
| |
| <BR> |
| Converts a pixel's Y coordinate into a vertical tile index |
| relative to a given tile grid layout specified by its Y offset |
| and tile height.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.awt.image.RenderedImage"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from interface java.awt.image.<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true#getTile(int, int)" title="class or interface in java.awt.image">getTile</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"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Field Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="minX"><!-- --></A><H3> |
| minX</H3> |
| <PRE> |
| protected int <B>minX</B></PRE> |
| <DL> |
| <DD>The X coordinate of the image's upper-left pixel. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="minY"><!-- --></A><H3> |
| minY</H3> |
| <PRE> |
| protected int <B>minY</B></PRE> |
| <DL> |
| <DD>The Y coordinate of the image's upper-left pixel. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="width"><!-- --></A><H3> |
| width</H3> |
| <PRE> |
| protected int <B>width</B></PRE> |
| <DL> |
| <DD>The image's width in pixels. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="height"><!-- --></A><H3> |
| height</H3> |
| <PRE> |
| protected int <B>height</B></PRE> |
| <DL> |
| <DD>The image's height in pixels. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="tileWidth"><!-- --></A><H3> |
| tileWidth</H3> |
| <PRE> |
| protected int <B>tileWidth</B></PRE> |
| <DL> |
| <DD>The width of a tile. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="tileHeight"><!-- --></A><H3> |
| tileHeight</H3> |
| <PRE> |
| protected int <B>tileHeight</B></PRE> |
| <DL> |
| <DD>The height of a tile. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="tileGridXOffset"><!-- --></A><H3> |
| tileGridXOffset</H3> |
| <PRE> |
| protected int <B>tileGridXOffset</B></PRE> |
| <DL> |
| <DD>The X coordinate of the upper-left pixel of tile (0, 0). |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="tileGridYOffset"><!-- --></A><H3> |
| tileGridYOffset</H3> |
| <PRE> |
| protected int <B>tileGridYOffset</B></PRE> |
| <DL> |
| <DD>The Y coordinate of the upper-left pixel of tile (0, 0). |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="sampleModel"><!-- --></A><H3> |
| sampleModel</H3> |
| <PRE> |
| protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/SampleModel.html?is-external=true" title="class or interface in java.awt.image">SampleModel</A> <B>sampleModel</B></PRE> |
| <DL> |
| <DD>The image's SampleModel. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="colorModel"><!-- --></A><H3> |
| colorModel</H3> |
| <PRE> |
| protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A> <B>colorModel</B></PRE> |
| <DL> |
| <DD>The image's ColorModel. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="sources"><!-- --></A><H3> |
| sources</H3> |
| <PRE> |
| protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> <B>sources</B></PRE> |
| <DL> |
| <DD>The image's sources, stored in a Vector. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="properties"><!-- --></A><H3> |
| properties</H3> |
| <PRE> |
| protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A> <B>properties</B></PRE> |
| <DL> |
| <DD>A Hashtable containing the image properties. |
| <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"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Constructor Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="SimpleRenderedImage()"><!-- --></A><H3> |
| SimpleRenderedImage</H3> |
| <PRE> |
| public <B>SimpleRenderedImage</B>()</PRE> |
| <DL> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="getMinX()"><!-- --></A><H3> |
| getMinX</H3> |
| <PRE> |
| public int <B>getMinX</B>()</PRE> |
| <DL> |
| <DD>Returns the X coordinate of the leftmost column of the image. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true#getMinX()" title="class or interface in java.awt.image">getMinX</A></CODE> in interface <CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMaxX()"><!-- --></A><H3> |
| getMaxX</H3> |
| <PRE> |
| public final int <B>getMaxX</B>()</PRE> |
| <DL> |
| <DD>Returns the X coordinate of the column immediatetely to the |
| right of the rightmost column of the image. getMaxX() is |
| implemented in terms of getMinX() and getWidth() and so does |
| not need to be implemented by subclasses. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMinY()"><!-- --></A><H3> |
| getMinY</H3> |
| <PRE> |
| public int <B>getMinY</B>()</PRE> |
| <DL> |
| <DD>Returns the X coordinate of the uppermost row of the image. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true#getMinY()" title="class or interface in java.awt.image">getMinY</A></CODE> in interface <CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMaxY()"><!-- --></A><H3> |
| getMaxY</H3> |
| <PRE> |
| public final int <B>getMaxY</B>()</PRE> |
| <DL> |
| <DD>Returns the Y coordinate of the row immediately below the |
| bottom row of the image. getMaxY() is implemented in terms of |
| getMinY() and getHeight() and so does not need to be |
| implemented by subclasses. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getWidth()"><!-- --></A><H3> |
| getWidth</H3> |
| <PRE> |
| public int <B>getWidth</B>()</PRE> |
| <DL> |
| <DD>Returns the width of the image. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true#getWidth()" title="class or interface in java.awt.image">getWidth</A></CODE> in interface <CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getHeight()"><!-- --></A><H3> |
| getHeight</H3> |
| <PRE> |
| public int <B>getHeight</B>()</PRE> |
| <DL> |
| <DD>Returns the height of the image. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true#getHeight()" title="class or interface in java.awt.image">getHeight</A></CODE> in interface <CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getBounds()"><!-- --></A><H3> |
| getBounds</H3> |
| <PRE> |
| public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A> <B>getBounds</B>()</PRE> |
| <DL> |
| <DD>Returns a Rectangle indicating the image bounds. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTileWidth()"><!-- --></A><H3> |
| getTileWidth</H3> |
| <PRE> |
| public int <B>getTileWidth</B>()</PRE> |
| <DL> |
| <DD>Returns the width of a tile. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true#getTileWidth()" title="class or interface in java.awt.image">getTileWidth</A></CODE> in interface <CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTileHeight()"><!-- --></A><H3> |
| getTileHeight</H3> |
| <PRE> |
| public int <B>getTileHeight</B>()</PRE> |
| <DL> |
| <DD>Returns the height of a tile. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true#getTileHeight()" title="class or interface in java.awt.image">getTileHeight</A></CODE> in interface <CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTileGridXOffset()"><!-- --></A><H3> |
| getTileGridXOffset</H3> |
| <PRE> |
| public int <B>getTileGridXOffset</B>()</PRE> |
| <DL> |
| <DD>Returns the X coordinate of the upper-left pixel of tile (0, 0). |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true#getTileGridXOffset()" title="class or interface in java.awt.image">getTileGridXOffset</A></CODE> in interface <CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTileGridYOffset()"><!-- --></A><H3> |
| getTileGridYOffset</H3> |
| <PRE> |
| public int <B>getTileGridYOffset</B>()</PRE> |
| <DL> |
| <DD>Returns the Y coordinate of the upper-left pixel of tile (0, 0). |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true#getTileGridYOffset()" title="class or interface in java.awt.image">getTileGridYOffset</A></CODE> in interface <CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMinTileX()"><!-- --></A><H3> |
| getMinTileX</H3> |
| <PRE> |
| public int <B>getMinTileX</B>()</PRE> |
| <DL> |
| <DD>Returns the horizontal index of the leftmost column of tiles. |
| getMinTileX() is implemented in terms of getMinX() |
| and so does not need to be implemented by subclasses. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true#getMinTileX()" title="class or interface in java.awt.image">getMinTileX</A></CODE> in interface <CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMaxTileX()"><!-- --></A><H3> |
| getMaxTileX</H3> |
| <PRE> |
| public int <B>getMaxTileX</B>()</PRE> |
| <DL> |
| <DD>Returns the horizontal index of the rightmost column of tiles. |
| getMaxTileX() is implemented in terms of getMaxX() |
| and so does not need to be implemented by subclasses. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getNumXTiles()"><!-- --></A><H3> |
| getNumXTiles</H3> |
| <PRE> |
| public int <B>getNumXTiles</B>()</PRE> |
| <DL> |
| <DD>Returns the number of tiles along the tile grid in the |
| horizontal direction. getNumXTiles() is implemented in terms |
| of getMinTileX() and getMaxTileX() and so does not need to be |
| implemented by subclasses. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true#getNumXTiles()" title="class or interface in java.awt.image">getNumXTiles</A></CODE> in interface <CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMinTileY()"><!-- --></A><H3> |
| getMinTileY</H3> |
| <PRE> |
| public int <B>getMinTileY</B>()</PRE> |
| <DL> |
| <DD>Returns the vertical index of the uppermost row of tiles. getMinTileY() |
| is implemented in terms of getMinY() and so does not need to be |
| implemented by subclasses. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true#getMinTileY()" title="class or interface in java.awt.image">getMinTileY</A></CODE> in interface <CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMaxTileY()"><!-- --></A><H3> |
| getMaxTileY</H3> |
| <PRE> |
| public int <B>getMaxTileY</B>()</PRE> |
| <DL> |
| <DD>Returns the vertical index of the bottom row of tiles. getMaxTileY() |
| is implemented in terms of getMaxY() and so does not need to |
| be implemented by subclasses. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getNumYTiles()"><!-- --></A><H3> |
| getNumYTiles</H3> |
| <PRE> |
| public int <B>getNumYTiles</B>()</PRE> |
| <DL> |
| <DD>Returns the number of tiles along the tile grid in the vertical |
| direction. getNumYTiles() is implemented in terms |
| of getMinTileY() and getMaxTileY() and so does not need to be |
| implemented by subclasses. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true#getNumYTiles()" title="class or interface in java.awt.image">getNumYTiles</A></CODE> in interface <CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSampleModel()"><!-- --></A><H3> |
| getSampleModel</H3> |
| <PRE> |
| public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/SampleModel.html?is-external=true" title="class or interface in java.awt.image">SampleModel</A> <B>getSampleModel</B>()</PRE> |
| <DL> |
| <DD>Returns the SampleModel of the image. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true#getSampleModel()" title="class or interface in java.awt.image">getSampleModel</A></CODE> in interface <CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getColorModel()"><!-- --></A><H3> |
| getColorModel</H3> |
| <PRE> |
| public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/ColorModel.html?is-external=true" title="class or interface in java.awt.image">ColorModel</A> <B>getColorModel</B>()</PRE> |
| <DL> |
| <DD>Returns the ColorModel of the image. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true#getColorModel()" title="class or interface in java.awt.image">getColorModel</A></CODE> in interface <CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getProperty(java.lang.String)"><!-- --></A><H3> |
| getProperty</H3> |
| <PRE> |
| public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getProperty</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> |
| <DL> |
| <DD>Gets a property from the property set of this image. If the |
| property name is not recognized, <code>null</code> will be returned. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true#getProperty(java.lang.String)" title="class or interface in java.awt.image">getProperty</A></CODE> in interface <CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the property to get, as a |
| <code>String</code>. |
| <DT><B>Returns:</B><DD>a reference to the property |
| <code>Object</code>, or the value <code>null</code></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPropertyNames()"><!-- --></A><H3> |
| getPropertyNames</H3> |
| <PRE> |
| public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] <B>getPropertyNames</B>()</PRE> |
| <DL> |
| <DD>Returns a list of the properties recognized by this image. If |
| no properties are available, an empty String[] will be returned. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true#getPropertyNames()" title="class or interface in java.awt.image">getPropertyNames</A></CODE> in interface <CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>an array of <code>String</code>s representing valid |
| property names.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPropertyNames(java.lang.String)"><!-- --></A><H3> |
| getPropertyNames</H3> |
| <PRE> |
| public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] <B>getPropertyNames</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> prefix)</PRE> |
| <DL> |
| <DD>Returns an array of <code>String</code>s recognized as names by |
| this property source that begin with the supplied prefix. If |
| no property names match, <code>null</code> will be returned. |
| The comparison is done in a case-independent manner. |
| |
| <p> The default implementation calls |
| <code>getPropertyNames()</code> and searches the list of names |
| for matches. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>an array of <code>String</code>s giving the valid |
| property names (can be null).</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="XToTileX(int, int, int)"><!-- --></A><H3> |
| XToTileX</H3> |
| <PRE> |
| public static int <B>XToTileX</B>(int x, |
| int tileGridXOffset, |
| int tileWidth)</PRE> |
| <DL> |
| <DD>Converts a pixel's X coordinate into a horizontal tile index |
| relative to a given tile grid layout specified by its X offset |
| and tile width. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="YToTileY(int, int, int)"><!-- --></A><H3> |
| YToTileY</H3> |
| <PRE> |
| public static int <B>YToTileY</B>(int y, |
| int tileGridYOffset, |
| int tileHeight)</PRE> |
| <DL> |
| <DD>Converts a pixel's Y coordinate into a vertical tile index |
| relative to a given tile grid layout specified by its Y offset |
| and tile height. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="XToTileX(int)"><!-- --></A><H3> |
| XToTileX</H3> |
| <PRE> |
| public int <B>XToTileX</B>(int x)</PRE> |
| <DL> |
| <DD>Converts a pixel's X coordinate into a horizontal tile index. |
| This is a convenience method. No attempt is made to detect |
| out-of-range coordinates. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>x</CODE> - the X coordinate of a pixel. |
| <DT><B>Returns:</B><DD>the X index of the tile containing the pixel.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="YToTileY(int)"><!-- --></A><H3> |
| YToTileY</H3> |
| <PRE> |
| public int <B>YToTileY</B>(int y)</PRE> |
| <DL> |
| <DD>Converts a pixel's Y coordinate into a vertical tile index. |
| This is a convenience method. No attempt is made to detect |
| out-of-range coordinates. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>y</CODE> - the Y coordinate of a pixel. |
| <DT><B>Returns:</B><DD>the Y index of the tile containing the pixel.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="tileXToX(int, int, int)"><!-- --></A><H3> |
| tileXToX</H3> |
| <PRE> |
| public static int <B>tileXToX</B>(int tx, |
| int tileGridXOffset, |
| int tileWidth)</PRE> |
| <DL> |
| <DD>Converts a horizontal tile index into the X coordinate of its |
| upper left pixel relative to a given tile grid layout specified |
| by its X offset and tile width. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="tileYToY(int, int, int)"><!-- --></A><H3> |
| tileYToY</H3> |
| <PRE> |
| public static int <B>tileYToY</B>(int ty, |
| int tileGridYOffset, |
| int tileHeight)</PRE> |
| <DL> |
| <DD>Converts a vertical tile index into the Y coordinate of |
| its upper left pixel relative to a given tile grid layout |
| specified by its Y offset and tile height. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="tileXToX(int)"><!-- --></A><H3> |
| tileXToX</H3> |
| <PRE> |
| public int <B>tileXToX</B>(int tx)</PRE> |
| <DL> |
| <DD>Converts a horizontal tile index into the X coordinate of its |
| upper left pixel. This is a convenience method. No attempt is made |
| to detect out-of-range indices. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>tx</CODE> - the horizontal index of a tile. |
| <DT><B>Returns:</B><DD>the X coordinate of the tile's upper left pixel.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="tileYToY(int)"><!-- --></A><H3> |
| tileYToY</H3> |
| <PRE> |
| public int <B>tileYToY</B>(int ty)</PRE> |
| <DL> |
| <DD>Converts a vertical tile index into the Y coordinate of its |
| upper left pixel. This is a convenience method. No attempt is made |
| to detect out-of-range indices. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ty</CODE> - the vertical index of a tile. |
| <DT><B>Returns:</B><DD>the Y coordinate of the tile's upper left pixel.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSources()"><!-- --></A><H3> |
| getSources</H3> |
| <PRE> |
| public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</A> <B>getSources</B>()</PRE> |
| <DL> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true#getSources()" title="class or interface in java.awt.image">getSources</A></CODE> in interface <CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getData()"><!-- --></A><H3> |
| getData</H3> |
| <PRE> |
| public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/Raster.html?is-external=true" title="class or interface in java.awt.image">Raster</A> <B>getData</B>()</PRE> |
| <DL> |
| <DD>Returns the entire image in a single Raster. For images with |
| multiple tiles this will require making a copy. |
| |
| <p> The returned Raster is semantically a copy. This means |
| that updates to the source image will not be reflected in the |
| returned Raster. For non-writable (immutable) source images, |
| the returned value may be a reference to the image's internal |
| data. The returned Raster should be considered non-writable; |
| any attempt to alter its pixel data (such as by casting it to |
| WritableRaster or obtaining and modifying its DataBuffer) may |
| result in undefined behavior. The copyData method should be |
| used if the returned Raster is to be modified. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true#getData()" title="class or interface in java.awt.image">getData</A></CODE> in interface <CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a Raster containing a copy of this image's data.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getData(java.awt.Rectangle)"><!-- --></A><H3> |
| getData</H3> |
| <PRE> |
| public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/Raster.html?is-external=true" title="class or interface in java.awt.image">Raster</A> <B>getData</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A> bounds)</PRE> |
| <DL> |
| <DD>Returns an arbitrary rectangular region of the RenderedImage |
| in a Raster. The rectangle of interest will be clipped against |
| the image bounds. |
| |
| <p> The returned Raster is semantically a copy. This means |
| that updates to the source image will not be reflected in the |
| returned Raster. For non-writable (immutable) source images, |
| the returned value may be a reference to the image's internal |
| data. The returned Raster should be considered non-writable; |
| any attempt to alter its pixel data (such as by casting it to |
| WritableRaster or obtaining and modifying its DataBuffer) may |
| result in undefined behavior. The copyData method should be |
| used if the returned Raster is to be modified. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true#getData(java.awt.Rectangle)" title="class or interface in java.awt.image">getData</A></CODE> in interface <CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>bounds</CODE> - the region of the RenderedImage to be returned.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="copyData(java.awt.image.WritableRaster)"><!-- --></A><H3> |
| copyData</H3> |
| <PRE> |
| public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> <B>copyData</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/WritableRaster.html?is-external=true" title="class or interface in java.awt.image">WritableRaster</A> dest)</PRE> |
| <DL> |
| <DD>Copies an arbitrary rectangular region of the RenderedImage |
| into a caller-supplied WritableRaster. The region to be |
| computed is determined by clipping the bounds of the supplied |
| WritableRaster against the bounds of the image. The supplied |
| WritableRaster must have a SampleModel that is compatible with |
| that of the image. |
| |
| <p> If the raster argument is null, the entire image will |
| be copied into a newly-created WritableRaster with a SampleModel |
| that is compatible with that of the image. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true#copyData(java.awt.image.WritableRaster)" title="class or interface in java.awt.image">copyData</A></CODE> in interface <CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/image/RenderedImage.html?is-external=true" title="class or interface in java.awt.image">RenderedImage</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>dest</CODE> - a WritableRaster to hold the returned portion of |
| the image. |
| <DT><B>Returns:</B><DD>a reference to the supplied WritableRaster, or to a |
| new WritableRaster if the supplied one was null.</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=2 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/SimpleRenderedImage.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-files/index-1.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/apache/batik/ext/awt/image/codec/util/SeekableStream.html" title="class in org.apache.batik.ext.awt.image.codec.util"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../../../org/apache/batik/ext/awt/image/codec/util/SingleTileRenderedImage.html" title="class in org.apache.batik.ext.awt.image.codec.util"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../../../index.html?org/apache/batik/ext/awt/image/codec/util/SimpleRenderedImage.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="SimpleRenderedImage.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 © 2017 <a href='http://www.apache.org/'>Apache Software Foundation</a>. All Rights Reserved. |
| </BODY> |
| </HTML> |