lookupop.html
来自「API資料大全」· HTML 代码 · 共 446 行 · 第 1/2 页
HTML
446 行
<BR> Returns the LookupTable.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../java/lang/Object.html#clone()">clone</A>, <A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#finalize()">finalize</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long, int)">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="LookupOp(java.awt.image.LookupTable, java.awt.RenderingHints)"><!-- --></A><H3>LookupOp</H3><PRE>public <B>LookupOp</B>(<A HREF="../../../java/awt/image/LookupTable.html">LookupTable</A> lookup, <A HREF="../../../java/awt/RenderingHints.html">RenderingHints</A> hints)</PRE><DL><DD>Constructs a LookupOp object given the lookup table and a RenderingHints object (which may be null).</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getTable()"><!-- --></A><H3>getTable</H3><PRE>public final <A HREF="../../../java/awt/image/LookupTable.html">LookupTable</A> <B>getTable</B>()</PRE><DL><DD>Returns the LookupTable.<DD><DL></DL></DD></DL><HR><A NAME="filter(java.awt.image.BufferedImage, java.awt.image.BufferedImage)"><!-- --></A><H3>filter</H3><PRE>public final <A HREF="../../../java/awt/image/BufferedImage.html">BufferedImage</A> <B>filter</B>(<A HREF="../../../java/awt/image/BufferedImage.html">BufferedImage</A> src, <A HREF="../../../java/awt/image/BufferedImage.html">BufferedImage</A> dst)</PRE><DL><DD>Performs a lookup operation on a BufferedImage. If the color model in the source image is not the same as that in the destination image, the pixels will be converted in the destination. If the destination image is null, a BufferedImage will be created with an appropriate ColorModel. An IllegalArgumentException may be thrown if the number of arrays in the LookupTable does not meet the restrictions stated in the class comment above, or if the source image has an IndexColorModel.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../java/awt/image/BufferedImageOp.html#filter(java.awt.image.BufferedImage, java.awt.image.BufferedImage)">filter</A></CODE> in interface <CODE><A HREF="../../../java/awt/image/BufferedImageOp.html">BufferedImageOp</A></CODE></DL></DD></DL><HR><A NAME="filter(java.awt.image.Raster, java.awt.image.WritableRaster)"><!-- --></A><H3>filter</H3><PRE>public final <A HREF="../../../java/awt/image/WritableRaster.html">WritableRaster</A> <B>filter</B>(<A HREF="../../../java/awt/image/Raster.html">Raster</A> src, <A HREF="../../../java/awt/image/WritableRaster.html">WritableRaster</A> dst)</PRE><DL><DD>Performs a lookup operation on a Raster. If the destination Raster is null, a new Raster will be created. The IllegalArgumentException may be thrown if the source and destination Rasters have different numbers of bands or if the number of arrays in the LookupTable does not meet the restrictions stated in the class comment above.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../java/awt/image/RasterOp.html#filter(java.awt.image.Raster, java.awt.image.WritableRaster)">filter</A></CODE> in interface <CODE><A HREF="../../../java/awt/image/RasterOp.html">RasterOp</A></CODE></DL></DD></DL><HR><A NAME="getBounds2D(java.awt.image.BufferedImage)"><!-- --></A><H3>getBounds2D</H3><PRE>public final <A HREF="../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> <B>getBounds2D</B>(<A HREF="../../../java/awt/image/BufferedImage.html">BufferedImage</A> src)</PRE><DL><DD>Returns the bounding box of the filtered destination image. Since this is not a geometric operation, the bounding box does not change.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../java/awt/image/BufferedImageOp.html#getBounds2D(java.awt.image.BufferedImage)">getBounds2D</A></CODE> in interface <CODE><A HREF="../../../java/awt/image/BufferedImageOp.html">BufferedImageOp</A></CODE></DL></DD></DL><HR><A NAME="getBounds2D(java.awt.image.Raster)"><!-- --></A><H3>getBounds2D</H3><PRE>public final <A HREF="../../../java/awt/geom/Rectangle2D.html">Rectangle2D</A> <B>getBounds2D</B>(<A HREF="../../../java/awt/image/Raster.html">Raster</A> src)</PRE><DL><DD>Returns the bounding box of the filtered destination Raster. Since this is not a geometric operation, the bounding box does not change.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../java/awt/image/RasterOp.html#getBounds2D(java.awt.image.Raster)">getBounds2D</A></CODE> in interface <CODE><A HREF="../../../java/awt/image/RasterOp.html">RasterOp</A></CODE></DL></DD></DL><HR><A NAME="createCompatibleDestImage(java.awt.image.BufferedImage, java.awt.image.ColorModel)"><!-- --></A><H3>createCompatibleDestImage</H3><PRE>public <A HREF="../../../java/awt/image/BufferedImage.html">BufferedImage</A> <B>createCompatibleDestImage</B>(<A HREF="../../../java/awt/image/BufferedImage.html">BufferedImage</A> src, <A HREF="../../../java/awt/image/ColorModel.html">ColorModel</A> destCM)</PRE><DL><DD>Creates a zeroed destination image with the correct size and number of bands. If destCM is null, an appropriate ColorModel will be used.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../java/awt/image/BufferedImageOp.html#createCompatibleDestImage(java.awt.image.BufferedImage, java.awt.image.ColorModel)">createCompatibleDestImage</A></CODE> in interface <CODE><A HREF="../../../java/awt/image/BufferedImageOp.html">BufferedImageOp</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>src</CODE> - Source image for the filter operation.<DD><CODE>destCM</CODE> - ColorModel of the destination. Can be null.</DL></DD></DL><HR><A NAME="createCompatibleDestRaster(java.awt.image.Raster)"><!-- --></A><H3>createCompatibleDestRaster</H3><PRE>public <A HREF="../../../java/awt/image/WritableRaster.html">WritableRaster</A> <B>createCompatibleDestRaster</B>(<A HREF="../../../java/awt/image/Raster.html">Raster</A> src)</PRE><DL><DD>Creates a zeroed destination Raster with the correct size and number of bands, given this source.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../java/awt/image/RasterOp.html#createCompatibleDestRaster(java.awt.image.Raster)">createCompatibleDestRaster</A></CODE> in interface <CODE><A HREF="../../../java/awt/image/RasterOp.html">RasterOp</A></CODE></DL></DD></DL><HR><A NAME="getPoint2D(java.awt.geom.Point2D, java.awt.geom.Point2D)"><!-- --></A><H3>getPoint2D</H3><PRE>public final <A HREF="../../../java/awt/geom/Point2D.html">Point2D</A> <B>getPoint2D</B>(<A HREF="../../../java/awt/geom/Point2D.html">Point2D</A> srcPt, <A HREF="../../../java/awt/geom/Point2D.html">Point2D</A> dstPt)</PRE><DL><DD>Returns the location of the destination point given a point in the source. If dstPt is non-null, it will be used to hold the return value. Since this is not a geometric operation, the srcPt will equal the dstPt.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../java/awt/image/BufferedImageOp.html#getPoint2D(java.awt.geom.Point2D, java.awt.geom.Point2D)">getPoint2D</A></CODE> in interface <CODE><A HREF="../../../java/awt/image/BufferedImageOp.html">BufferedImageOp</A></CODE></DL></DD></DL><HR><A NAME="getRenderingHints()"><!-- --></A><H3>getRenderingHints</H3><PRE>public final <A HREF="../../../java/awt/RenderingHints.html">RenderingHints</A> <B>getRenderingHints</B>()</PRE><DL><DD>Returns the rendering hints for this op.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../java/awt/image/BufferedImageOp.html#getRenderingHints()">getRenderingHints</A></CODE> in interface <CODE><A HREF="../../../java/awt/image/BufferedImageOp.html">BufferedImageOp</A></CODE></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <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/LookupOp.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><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Std. Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../java/awt/image/Kernel.html"><B>PREV CLASS</B></A> <A HREF="../../../java/awt/image/LookupTable.html"><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="LookupOp.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A. All Rights Reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?