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

📄 databuffer.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 5 页
字号:
</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#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 data 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>BandedSampleModel.</B><B><A HREF="../../../../java/awt/image/BandedSampleModel.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>BandedSampleModel.</B><B><A HREF="../../../../java/awt/image/BandedSampleModel.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.</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>BandedSampleModel.</B><B><A HREF="../../../../java/awt/image/BandedSampleModel.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 data 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>BandedSampleModel.</B><B><A HREF="../../../../java/awt/image/BandedSampleModel.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>BandedSampleModel.</B><B><A HREF="../../../../java/awt/image/BandedSampleModel.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>BandedSampleModel.</B><B><A HREF="../../../../java/awt/image/BandedSampleModel.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>BandedSampleModel.</B><B><A HREF="../../../../java/awt/image/BandedSampleModel.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>BandedSampleModel.</B><B><A HREF="../../../../java/awt/image/BandedSampleModel.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>BandedSampleModel.</B><B><A HREF="../../../../java/awt/image/BandedSampleModel.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>BandedSampleModel.</B><B><A HREF="../../../../java/awt/image/BandedSampleModel.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>BandedSampleModel.</B><B><A HREF="../../../../java/awt/image/BandedSampleModel.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>BandedSampleModel.</B><B><A HREF="../../../../java/awt/image/BandedSampleModel.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>BandedSampleModel.</B><B><A HREF="../../../../java/awt/image/BandedSampleModel.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>BandedSampleModel.</B><B><A HREF="../../../../java/awt/image/BandedSampleModel.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 data array element.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../java/awt/image/WritableRaster.html">WritableRaster</A></CODE></FONT></TD><TD><CODE><B>Raster.</B><B><A HREF="../../../../java/awt/image/Raster.html#createInterleavedRaster(java.awt.image.DataBuffer, int, int, int, int, int[], java.awt.Point)">createInterleavedRaster</A></B>(<A HREF="../../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;dataBuffer,                        int&nbsp;w,                        int&nbsp;h,                        int&nbsp;scanlineStride,                        int&nbsp;pixelStride,                        int[]&nbsp;bandOffsets,                        <A HREF="../../../../java/awt/Point.html">Point</A>&nbsp;location)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a Raster based on a PixelInterleavedSampleModel with the specified DataBuffer, width, height, scanline stride, pixel stride, and band offsets.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../java/awt/image/WritableRaster.html">WritableRaster</A></CODE></FONT></TD><TD><CODE><B>Raster.</B><B><A HREF="../../../../java/awt/image/Raster.html#createBandedRaster(java.awt.image.DataBuffer, int, int, int, int[], int[], java.awt.Point)">createBandedRaster</A></B>(<A HREF="../../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;dataBuffer,                   int&nbsp;w,                   int&nbsp;h,                   int&nbsp;scanlineStride,                   int[]&nbsp;bankIndices,                   int[]&nbsp;bandOffsets,                   <A HREF="../../../../java/awt/Point.html">Point</A>&nbsp;location)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a Raster based on a BandedSampleModel with the specified DataBuffer, width, height, scanline stride, bank indices, and band offsets.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../java/awt/image/WritableRaster.html">WritableRaster</A></CODE></FONT></TD><TD><CODE><B>Raster.</B><B><A HREF="../../../../java/awt/image/Raster.html#createPackedRaster(java.awt.image.DataBuffer, int, int, int, int[], java.awt.Point)">createPackedRaster</A></B>(<A HREF="../../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;dataBuffer,                   int&nbsp;w,                   int&nbsp;h,                   int&nbsp;scanlineStride,                   int[]&nbsp;bandMasks,                   <A HREF="../../../../java/awt/Point.html">Point</A>&nbsp;location)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a Raster based on a SinglePixelPackedSampleModel with the specified DataBuffer, width, height, scanline stride, and band masks.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor">

⌨️ 快捷键说明

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