areaaveragingscalefilter.html
来自「API資料大全」· HTML 代码 · 共 405 行 · 第 1/2 页
HTML
405 行
</TR></TABLE> <A NAME="methods_inherited_from_class_java.awt.image.ReplicateScaleFilter"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.awt.image.<A HREF="../../../java/awt/image/ReplicateScaleFilter.html">ReplicateScaleFilter</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../java/awt/image/ReplicateScaleFilter.html#setDimensions(int, int)">setDimensions</A>, <A HREF="../../../java/awt/image/ReplicateScaleFilter.html#setProperties(java.util.Hashtable)">setProperties</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.awt.image.ImageFilter"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.awt.image.<A HREF="../../../java/awt/image/ImageFilter.html">ImageFilter</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../java/awt/image/ImageFilter.html#clone()">clone</A>, <A HREF="../../../java/awt/image/ImageFilter.html#getFilterInstance(java.awt.image.ImageConsumer)">getFilterInstance</A>, <A HREF="../../../java/awt/image/ImageFilter.html#imageComplete(int)">imageComplete</A>, <A HREF="../../../java/awt/image/ImageFilter.html#resendTopDownLeftRight(java.awt.image.ImageProducer)">resendTopDownLeftRight</A>, <A HREF="../../../java/awt/image/ImageFilter.html#setColorModel(java.awt.image.ColorModel)">setColorModel</A></CODE></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#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="AreaAveragingScaleFilter(int, int)"><!-- --></A><H3>AreaAveragingScaleFilter</H3><PRE>public <B>AreaAveragingScaleFilter</B>(int width, int height)</PRE><DL><DD>Constructs an AreaAveragingScaleFilter that scales the pixels from its source Image as specified by the width and height parameters.<DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - the target width to scale the image<DD><CODE>height</CODE> - the target height to scale the image</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="setHints(int)"><!-- --></A><H3>setHints</H3><PRE>public void <B>setHints</B>(int hints)</PRE><DL><DD>Detect if the data is being delivered with the necessary hints to allow the averaging algorithm to do its work. <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 filter pixels from an image should avoid calling this method directly since that operation could interfere with the filtering operation.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../java/awt/image/ImageFilter.html#setHints(int)">setHints</A></CODE> in class <CODE><A HREF="../../../java/awt/image/ImageFilter.html">ImageFilter</A></CODE></DL></DD><DD><DL><DT><B>See Also: </B><DD><A HREF="../../../java/awt/image/ImageConsumer.html#setHints(int)"><CODE>ImageConsumer.setHints(int)</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>Combine the components for the delivered byte pixels into the accumulation arrays and send on any averaged data for rows of pixels that are complete. If the correct hints were not specified in the setHints call then relay the work to our superclass which is capable of scaling pixels regardless of the delivery hints. <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 filter pixels from an image should avoid calling this method directly since that operation could interfere with the filtering operation.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../java/awt/image/ReplicateScaleFilter.html#setPixels(int, int, int, int, java.awt.image.ColorModel, byte[], int, int)">setPixels</A></CODE> in class <CODE><A HREF="../../../java/awt/image/ReplicateScaleFilter.html">ReplicateScaleFilter</A></CODE></DL></DD><DD><DL><DT><B>See Also: </B><DD><A HREF="../../../java/awt/image/ReplicateScaleFilter.html"><CODE>ReplicateScaleFilter</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>Combine the components for the delivered int pixels into the accumulation arrays and send on any averaged data for rows of pixels that are complete. If the correct hints were not specified in the setHints call then relay the work to our superclass which is capable of scaling pixels regardless of the delivery hints. <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 filter pixels from an image should avoid calling this method directly since that operation could interfere with the filtering operation.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../java/awt/image/ReplicateScaleFilter.html#setPixels(int, int, int, int, java.awt.image.ColorModel, int[], int, int)">setPixels</A></CODE> in class <CODE><A HREF="../../../java/awt/image/ReplicateScaleFilter.html">ReplicateScaleFilter</A></CODE></DL></DD><DD><DL><DT><B>See Also: </B><DD><A HREF="../../../java/awt/image/ReplicateScaleFilter.html"><CODE>ReplicateScaleFilter</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/AreaAveragingScaleFilter.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/AffineTransformOp.html"><B>PREV CLASS</B></A> <A HREF="../../../java/awt/image/BandCombineOp.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="AreaAveragingScaleFilter.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.ReplicateScaleFilter">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 + -
显示快捷键?