imagefilter.html

来自「API資料大全」· HTML 代码 · 共 591 行 · 第 1/3 页

HTML
591
字号
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Filters the information provided in the setDimensions method of the ImageConsumer interface.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/image/ImageFilter.html#setHints(int)">setHints</A></B>(int&nbsp;hints)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Filters the information provided in the setHints method of the ImageConsumer interface.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/image/ImageFilter.html#setPixels(int, int, int, int, java.awt.image.ColorModel, byte[], int, int)">setPixels</A></B>(int&nbsp;x,          int&nbsp;y,          int&nbsp;w,          int&nbsp;h,          <A HREF="../../../java/awt/image/ColorModel.html">ColorModel</A>&nbsp;model,          byte[]&nbsp;pixels,          int&nbsp;off,          int&nbsp;scansize)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Filters the information provided in the setPixels method of the ImageConsumer interface which takes an array of bytes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/image/ImageFilter.html#setPixels(int, int, int, int, java.awt.image.ColorModel, int[], int, int)">setPixels</A></B>(int&nbsp;x,          int&nbsp;y,          int&nbsp;w,          int&nbsp;h,          <A HREF="../../../java/awt/image/ColorModel.html">ColorModel</A>&nbsp;model,          int[]&nbsp;pixels,          int&nbsp;off,          int&nbsp;scansize)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Filters the information provided in the setPixels method of the ImageConsumer interface which takes an array of integers.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/image/ImageFilter.html#setProperties(java.util.Hashtable)">setProperties</A></B>(<A HREF="../../../java/util/Hashtable.html">Hashtable</A>&nbsp;props)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Passes the properties from the source object along after adding a property indicating the stream of filters it has been run through.</TD></TR></TABLE>&nbsp;<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#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>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="consumer"><!-- --></A><H3>consumer</H3><PRE>protected <A HREF="../../../java/awt/image/ImageConsumer.html">ImageConsumer</A> <B>consumer</B></PRE><DL><DD>The consumer of the particular image data stream for which this instance of the ImageFilter is filtering data.  It is not initialized during the constructor, but rather during the getFilterInstance() method call when the FilteredImageSource is creating a unique instance of this object for a particular image data stream.<DD><DL><DT><B>See Also: </B><DD><A HREF="../../../java/awt/image/ImageFilter.html#getFilterInstance(java.awt.image.ImageConsumer)"><CODE>getFilterInstance(java.awt.image.ImageConsumer)</CODE></A>, <A HREF="../../../java/awt/image/ImageConsumer.html"><CODE>ImageConsumer</CODE></A></DL></DD></DL><!-- ========= 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="ImageFilter()"><!-- --></A><H3>ImageFilter</H3><PRE>public <B>ImageFilter</B>()</PRE><DL></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="getFilterInstance(java.awt.image.ImageConsumer)"><!-- --></A><H3>getFilterInstance</H3><PRE>public <A HREF="../../../java/awt/image/ImageFilter.html">ImageFilter</A> <B>getFilterInstance</B>(<A HREF="../../../java/awt/image/ImageConsumer.html">ImageConsumer</A>&nbsp;ic)</PRE><DL><DD>Returns a unique instance of an ImageFilter object which will actually perform the filtering for the specified ImageConsumer. The default implementation just clones this object. <p> Note: This method is intended to be called by the ImageProducer of the Image whose pixels are being filtered.  Developers using this class to filter pixels from an image should avoid calling this method directly since that operation could interfere with the filtering operation.<DD><DL></DL></DD></DL><HR><A NAME="setDimensions(int, int)"><!-- --></A><H3>setDimensions</H3><PRE>public void <B>setDimensions</B>(int&nbsp;width,                          int&nbsp;height)</PRE><DL><DD>Filters the information provided in the setDimensions method of the ImageConsumer interface. <p> Note: This method is intended to be called by the ImageProducer of the Image whose pixels are being filtered.  Developers using this class to filter pixels from an image should avoid calling this method directly since that operation could interfere       with the filtering operation.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../java/awt/image/ImageConsumer.html#setDimensions(int, int)">setDimensions</A></CODE> in interface <CODE><A HREF="../../../java/awt/image/ImageConsumer.html">ImageConsumer</A></CODE></DL></DD><DD><DL><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="setProperties(java.util.Hashtable)"><!-- --></A><H3>setProperties</H3><PRE>public void <B>setProperties</B>(<A HREF="../../../java/util/Hashtable.html">Hashtable</A>&nbsp;props)</PRE><DL><DD>Passes the properties from the source object along after adding a property indicating the stream of filters it has been run through. <p> Note: This method is intended to be called by the ImageProducer of the Image whose pixels are being filtered.  Developers using this class to filter pixels from an image should avoid calling this method directly since that operation could interfere       with the filtering operation.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../java/awt/image/ImageConsumer.html#setProperties(java.util.Hashtable)">setProperties</A></CODE> in interface <CODE><A HREF="../../../java/awt/image/ImageConsumer.html">ImageConsumer</A></CODE></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>&nbsp;model)</PRE><DL><DD>Filter the information provided in the setColorModel method of the ImageConsumer interface. <p> Note: This method is intended to be called by the ImageProducer of the Image whose pixels are being filtered.  Developers using this class to filter pixels from an image should avoid calling this method directly since that operation could interfere       with the filtering operation.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../java/awt/image/ImageConsumer.html#setColorModel(java.awt.image.ColorModel)">setColorModel</A></CODE> in interface <CODE><A HREF="../../../java/awt/image/ImageConsumer.html">ImageConsumer</A></CODE></DL></DD><DD><DL><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>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?