bufferedimagefilter.html
来自「API資料大全」· HTML 代码 · 共 473 行 · 第 1/2 页
HTML
473 行
<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="BufferedImageFilter(java.awt.image.BufferedImageOp)"><!-- --></A><H3>BufferedImageFilter</H3><PRE>public <B>BufferedImageFilter</B>(<A HREF="../../../java/awt/image/BufferedImageOp.html">BufferedImageOp</A> op)</PRE><DL><DD>Constructs a <code>BufferedImageFilter</code> with the specified single-source/single-destination operator.<DD><DL><DT><B>Parameters:</B><DD><CODE>op</CODE> - the specified <code>BufferedImageOp</code> to use to filter a <code>BufferedImage</code></DL></DD></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="getBufferedImageOp()"><!-- --></A><H3>getBufferedImageOp</H3><PRE>public <A HREF="../../../java/awt/image/BufferedImageOp.html">BufferedImageOp</A> <B>getBufferedImageOp</B>()</PRE><DL><DD>Returns the <code>BufferedImageOp</code>.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the operator of this <code>BufferedImageFilter</code>.</DL></DD></DL><HR><A NAME="setDimensions(int, int)"><!-- --></A><H3>setDimensions</H3><PRE>public void <B>setDimensions</B>(int width, int height)</PRE><DL><DD>Filters the information provided in the <A HREF="../../../java/awt/image/ImageConsumer.html#setDimensions(int, int)"><CODE>setDimensions </CODE></A> method of the <A HREF="../../../java/awt/image/ImageConsumer.html"><CODE>ImageConsumer</CODE></A> interface. <p> Note: This method is intended to be called by the <A HREF="../../../java/awt/image/ImageProducer.html"><CODE>ImageProducer</CODE></A> of the <code>Image</code> whose pixels are being filtered. Developers using this class to retrieve pixels from an image should avoid calling this method directly since that operation could result in problems with retrieving the requested pixels. <p><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../java/awt/image/ImageFilter.html#setDimensions(int, int)">setDimensions</A></CODE> in class <CODE><A HREF="../../../java/awt/image/ImageFilter.html">ImageFilter</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - the width to which to set the width of this <code>BufferedImageFilter</code><DD><CODE>height</CODE> - the height to which to set the height of this <code>BufferedImageFilter</code><DT><B>See Also: </B><DD><A HREF="../../../java/awt/image/ImageConsumer.html#setDimensions(int, int)"><CODE>ImageConsumer.setDimensions(int, int)</CODE></A></DL></DD></DL><HR><A NAME="setColorModel(java.awt.image.ColorModel)"><!-- --></A><H3>setColorModel</H3><PRE>public void <B>setColorModel</B>(<A HREF="../../../java/awt/image/ColorModel.html">ColorModel</A> model)</PRE><DL><DD>Filters the information provided in the <A HREF="../../../java/awt/image/ImageConsumer.html#setColorModel(java.awt.image.ColorModel)"><CODE>setColorModel</CODE></A> method of the <code>ImageConsumer</code> interface. <p> If <code>model</code> is <code>null</code>, this method clears the current <code>ColorModel</code> of this <code>BufferedImageFilter</code>. <p> Note: This method is intended to be called by the <code>ImageProducer</code> of the <code>Image</code> whose pixels are being filtered. Developers using this class to retrieve pixels from an image should avoid calling this method directly since that operation could result in problems with retrieving the requested pixels.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../java/awt/image/ImageFilter.html#setColorModel(java.awt.image.ColorModel)">setColorModel</A></CODE> in class <CODE><A HREF="../../../java/awt/image/ImageFilter.html">ImageFilter</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>model</CODE> - the <A HREF="../../../java/awt/image/ColorModel.html"><CODE>ColorModel</CODE></A> to which to set the <code>ColorModel</code> of this <code>BufferedImageFilter</code><DT><B>See Also: </B><DD><A HREF="../../../java/awt/image/ImageConsumer.html#setColorModel(java.awt.image.ColorModel)"><CODE>ImageConsumer.setColorModel(java.awt.image.ColorModel)</CODE></A></DL></DD></DL><HR><A NAME="setPixels(int, int, int, int, java.awt.image.ColorModel, byte[], int, int)"><!-- --></A><H3>setPixels</H3><PRE>public void <B>setPixels</B>(int x, int y, int w, int h, <A HREF="../../../java/awt/image/ColorModel.html">ColorModel</A> model, byte[] pixels, int off, int scansize)</PRE><DL><DD>Filters the information provided in the <code>setPixels</code> method of the <code>ImageConsumer</code> interface which takes an array of bytes. <p> Note: This method is intended to be called by the <code>ImageProducer</code> of the <code>Image</code> whose pixels are being filtered. Developers using this class to retrieve pixels from an image should avoid calling this method directly since that operation could result in problems with retrieving the requested pixels.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../java/awt/image/ImageFilter.html#setPixels(int, int, int, int, java.awt.image.ColorModel, byte[], int, int)">setPixels</A></CODE> in class <CODE><A HREF="../../../java/awt/image/ImageFilter.html">ImageFilter</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - if width or height are less than zero.<DT><B>See Also: </B><DD><A HREF="../../../java/awt/image/ImageConsumer.html#setPixels(int, int, int, int, java.awt.image.ColorModel, byte[], int, int)"><CODE>ImageConsumer.setPixels(int, int, int, int, ColorModel, byte[],int, int)</CODE></A></DL></DD></DL><HR><A NAME="setPixels(int, int, int, int, java.awt.image.ColorModel, int[], int, int)"><!-- --></A><H3>setPixels</H3><PRE>public void <B>setPixels</B>(int x, int y, int w, int h, <A HREF="../../../java/awt/image/ColorModel.html">ColorModel</A> model, int[] pixels, int off, int scansize)</PRE><DL><DD>Filters the information provided in the <code>setPixels</code> method of the <code>ImageConsumer</code> interface which takes an array of integers. <p> Note: This method is intended to be called by the <code>ImageProducer</code> of the <code>Image</code> whose pixels are being filtered. Developers using this class to retrieve pixels from an image should avoid calling this method directly since that operation could result in problems with retrieving the requested pixels.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../java/awt/image/ImageFilter.html#setPixels(int, int, int, int, java.awt.image.ColorModel, int[], int, int)">setPixels</A></CODE> in class <CODE><A HREF="../../../java/awt/image/ImageFilter.html">ImageFilter</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../java/lang/IllegalArgumentException.html">IllegalArgumentException</A></CODE> - if width or height are less than zero.<DT><B>See Also: </B><DD><A HREF="../../../java/awt/image/ImageConsumer.html#setPixels(int, int, int, int, java.awt.image.ColorModel, int[], int, int)"><CODE>ImageConsumer.setPixels(int, int, int, int, ColorModel, int[],int, int)</CODE></A></DL></DD></DL><HR><A NAME="imageComplete(int)"><!-- --></A><H3>imageComplete</H3><PRE>public void <B>imageComplete</B>(int status)</PRE><DL><DD>Filters the information provided in the <code>imageComplete</code> method of the <code>ImageConsumer</code> interface. <p> Note: This method is intended to be called by the <code>ImageProducer</code> of the <code>Image</code> whose pixels are being filtered. Developers using this class to retrieve pixels from an image should avoid calling this method directly since that operation could result in problems with retrieving the requested pixels.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../java/awt/image/ImageFilter.html#imageComplete(int)">imageComplete</A></CODE> in class <CODE><A HREF="../../../java/awt/image/ImageFilter.html">ImageFilter</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>status</CODE> - the status of image loading<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/awt/image/ImagingOpException.html">ImagingOpException</A></CODE> - if there was a problem calling the filter method of the <code>BufferedImageOp</code> associated with this instance.<DT><B>See Also: </B><DD><A HREF="../../../java/awt/image/ImageConsumer.html#imageComplete(int)"><CODE>ImageConsumer.imageComplete(int)</CODE></A></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/BufferedImageFilter.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/BufferedImage.html"><B>PREV CLASS</B></A> <A HREF="../../../java/awt/image/ByteLookupTable.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="BufferedImageFilter.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#fields_inherited_from_class_java.awt.image.ImageFilter">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: 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 + -
显示快捷键?