⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 databuffer.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 5 页
字号:
          int&nbsp;b,          int&nbsp;s,          <A HREF="../../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a sample in the specified band for the pixel located at (x,y) in the DataBuffer using an int for input.</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>SampleModel.</B><B><A HREF="../../../../java/awt/image/SampleModel.html#setSample(int, int, int, float, java.awt.image.DataBuffer)">setSample</A></B>(int&nbsp;x,          int&nbsp;y,          int&nbsp;b,          float&nbsp;s,          <A HREF="../../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a sample in the specified band for the pixel located at (x,y) in the DataBuffer using a float for input.</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>SampleModel.</B><B><A HREF="../../../../java/awt/image/SampleModel.html#setSample(int, int, int, double, java.awt.image.DataBuffer)">setSample</A></B>(int&nbsp;x,          int&nbsp;y,          int&nbsp;b,          double&nbsp;s,          <A HREF="../../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a sample in the specified band for the pixel located at (x,y) in the DataBuffer using a double for input.</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>SampleModel.</B><B><A HREF="../../../../java/awt/image/SampleModel.html#setSamples(int, int, int, int, int, int[], java.awt.image.DataBuffer)">setSamples</A></B>(int&nbsp;x,           int&nbsp;y,           int&nbsp;w,           int&nbsp;h,           int&nbsp;b,           int[]&nbsp;iArray,           <A HREF="../../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the samples in the specified band for the specified rectangle of pixels from an int array containing one sample per array element.</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>SampleModel.</B><B><A HREF="../../../../java/awt/image/SampleModel.html#setSamples(int, int, int, int, int, float[], java.awt.image.DataBuffer)">setSamples</A></B>(int&nbsp;x,           int&nbsp;y,           int&nbsp;w,           int&nbsp;h,           int&nbsp;b,           float[]&nbsp;fArray,           <A HREF="../../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the samples in the specified band for the specified rectangle of pixels from a float array containing one sample per array element.</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>SampleModel.</B><B><A HREF="../../../../java/awt/image/SampleModel.html#setSamples(int, int, int, int, int, double[], java.awt.image.DataBuffer)">setSamples</A></B>(int&nbsp;x,           int&nbsp;y,           int&nbsp;w,           int&nbsp;h,           int&nbsp;b,           double[]&nbsp;dArray,           <A HREF="../../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the samples in the specified band for the specified rectangle of pixels from a double array containing one sample per array element.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../java/lang/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B>ComponentSampleModel.</B><B><A HREF="../../../../java/awt/image/ComponentSampleModel.html#getDataElements(int, int, java.lang.Object, java.awt.image.DataBuffer)">getDataElements</A></B>(int&nbsp;x,                int&nbsp;y,                <A HREF="../../../../java/lang/Object.html">Object</A>&nbsp;obj,                <A HREF="../../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns data for a single pixel in a primitive array of type TransferType.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int[]</CODE></FONT></TD><TD><CODE><B>ComponentSampleModel.</B><B><A HREF="../../../../java/awt/image/ComponentSampleModel.html#getPixel(int, int, int[], java.awt.image.DataBuffer)">getPixel</A></B>(int&nbsp;x,         int&nbsp;y,         int[]&nbsp;iArray,         <A HREF="../../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all samples for the specified pixel in an int array, one sample per array element.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int[]</CODE></FONT></TD><TD><CODE><B>ComponentSampleModel.</B><B><A HREF="../../../../java/awt/image/ComponentSampleModel.html#getPixels(int, int, int, int, int[], java.awt.image.DataBuffer)">getPixels</A></B>(int&nbsp;x,          int&nbsp;y,          int&nbsp;w,          int&nbsp;h,          int[]&nbsp;iArray,          <A HREF="../../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all samples for the specified rectangle of pixels in an int array, one sample per array element.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B>ComponentSampleModel.</B><B><A HREF="../../../../java/awt/image/ComponentSampleModel.html#getSample(int, int, int, java.awt.image.DataBuffer)">getSample</A></B>(int&nbsp;x,          int&nbsp;y,          int&nbsp;b,          <A HREF="../../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns as int the sample in a specified band for the pixel located at (x,y).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;float</CODE></FONT></TD><TD><CODE><B>ComponentSampleModel.</B><B><A HREF="../../../../java/awt/image/ComponentSampleModel.html#getSampleFloat(int, int, int, java.awt.image.DataBuffer)">getSampleFloat</A></B>(int&nbsp;x,               int&nbsp;y,               int&nbsp;b,               <A HREF="../../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the sample in a specified band for the pixel located at (x,y) as a float.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;double</CODE></FONT></TD><TD><CODE><B>ComponentSampleModel.</B><B><A HREF="../../../../java/awt/image/ComponentSampleModel.html#getSampleDouble(int, int, int, java.awt.image.DataBuffer)">getSampleDouble</A></B>(int&nbsp;x,                int&nbsp;y,                int&nbsp;b,                <A HREF="../../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the sample in a specified band for a pixel located at (x,y) as a double.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int[]</CODE></FONT></TD><TD><CODE><B>ComponentSampleModel.</B><B><A HREF="../../../../java/awt/image/ComponentSampleModel.html#getSamples(int, int, int, int, int, int[], java.awt.image.DataBuffer)">getSamples</A></B>(int&nbsp;x,           int&nbsp;y,           int&nbsp;w,           int&nbsp;h,           int&nbsp;b,           int[]&nbsp;iArray,           <A HREF="../../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the samples in a specified band for the specified rectangle of pixels in an int array, one sample per data array element.</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>ComponentSampleModel.</B><B><A HREF="../../../../java/awt/image/ComponentSampleModel.html#setDataElements(int, int, java.lang.Object, java.awt.image.DataBuffer)">setDataElements</A></B>(int&nbsp;x,                int&nbsp;y,                <A HREF="../../../../java/lang/Object.html">Object</A>&nbsp;obj,                <A HREF="../../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the data for a single pixel in the specified DataBuffer from a primitive array of type TransferType.</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>ComponentSampleModel.</B><B><A HREF="../../../../java/awt/image/ComponentSampleModel.html#setPixel(int, int, int[], java.awt.image.DataBuffer)">setPixel</A></B>(int&nbsp;x,         int&nbsp;y,         int[]&nbsp;iArray,         <A HREF="../../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a pixel in the DataBuffer using an int array of samples for input.</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>ComponentSampleModel.</B><B><A HREF="../../../../java/awt/image/ComponentSampleModel.html#setPixels(int, int, int, int, int[], java.awt.image.DataBuffer)">setPixels</A></B>(int&nbsp;x,          int&nbsp;y,          int&nbsp;w,          int&nbsp;h,          int[]&nbsp;iArray,          <A HREF="../../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets all samples for a rectangle of pixels from an int array containing one sample per array element.</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>ComponentSampleModel.</B><B><A HREF="../../../../java/awt/image/ComponentSampleModel.html#setSample(int, int, int, int, java.awt.image.DataBuffer)">setSample</A></B>(int&nbsp;x,          int&nbsp;y,          int&nbsp;b,          int&nbsp;s,          <A HREF="../../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a sample in the specified band for the pixel located at (x,y) in the DataBuffer using an int for input.</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>ComponentSampleModel.</B><B><A HREF="../../../../java/awt/image/ComponentSampleModel.html#setSample(int, int, int, float, java.awt.image.DataBuffer)">setSample</A></B>(int&nbsp;x,          int&nbsp;y,          int&nbsp;b,          float&nbsp;s,          <A HREF="../../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a sample in the specified band for the pixel located at (x,y) in the DataBuffer using a float for input.</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>ComponentSampleModel.</B><B><A HREF="../../../../java/awt/image/ComponentSampleModel.html#setSample(int, int, int, double, java.awt.image.DataBuffer)">setSample</A></B>(int&nbsp;x,          int&nbsp;y,          int&nbsp;b,          double&nbsp;s,          <A HREF="../../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a sample in the specified band for the pixel located at (x,y) in the DataBuffer using a double for input.</TD>

⌨️ 快捷键说明

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