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

📄 samplemodel.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 5 页
字号:
                        <A HREF="../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</PRE><DL><DD>Returns the samples for the specified pixel in an array of float. ArrayIndexOutOfBoundsException may be thrown if the coordinates are not in bounds.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - The X coordinate of the pixel location.<DD><CODE>y</CODE> - The Y coordinate of the pixel location.<DD><CODE>fArray</CODE> - If non-null, returns the samples in this array.<DD><CODE>data</CODE> - The DataBuffer containing the image data.</DL></DD></DL><HR><A NAME="getPixel(int, int, double[], java.awt.image.DataBuffer)"><!-- --></A><H3>getPixel</H3><PRE>public double[] <B>getPixel</B>(int&nbsp;x,                         int&nbsp;y,                         double[]&nbsp;dArray,                         <A HREF="../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</PRE><DL><DD>Returns the samples for the specified pixel in an array of double. ArrayIndexOutOfBoundsException may be thrown if the coordinates are not in bounds.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - The X coordinate of the pixel location.<DD><CODE>y</CODE> - The Y coordinate of the pixel location.<DD><CODE>dArray</CODE> - If non-null, returns the samples in this array.<DD><CODE>data</CODE> - The DataBuffer containing the image data.</DL></DD></DL><HR><A NAME="getPixels(int, int, int, int, int[], java.awt.image.DataBuffer)"><!-- --></A><H3>getPixels</H3><PRE>public int[] <B>getPixels</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)</PRE><DL><DD>Returns all samples for a rectangle of pixels in an int array, one sample per array element. ArrayIndexOutOfBoundsException may be thrown if the coordinates are not in bounds.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - The X coordinate of the upper left pixel location.<DD><CODE>y</CODE> - The Y coordinate of the upper left pixel location.<DD><CODE>w</CODE> - The width of the pixel rectangle.<DD><CODE>h</CODE> - The height of the pixel rectangle.<DD><CODE>iArray</CODE> - If non-null, returns the samples in this array.<DD><CODE>data</CODE> - The DataBuffer containing the image data.</DL></DD></DL><HR><A NAME="getPixels(int, int, int, int, float[], java.awt.image.DataBuffer)"><!-- --></A><H3>getPixels</H3><PRE>public float[] <B>getPixels</B>(int&nbsp;x,                         int&nbsp;y,                         int&nbsp;w,                         int&nbsp;h,                         float[]&nbsp;fArray,                         <A HREF="../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</PRE><DL><DD>Returns all samples for a rectangle of pixels in a float array, one sample per array element. ArrayIndexOutOfBoundsException may be thrown if the coordinates are not in bounds.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - The X coordinate of the upper left pixel location.<DD><CODE>y</CODE> - The Y coordinate of the upper left pixel location.<DD><CODE>w</CODE> - The width of the pixel rectangle.<DD><CODE>h</CODE> - The height of the pixel rectangle.<DD><CODE>fArray</CODE> - If non-null, returns the samples in this array.<DD><CODE>data</CODE> - The DataBuffer containing the image data.</DL></DD></DL><HR><A NAME="getPixels(int, int, int, int, double[], java.awt.image.DataBuffer)"><!-- --></A><H3>getPixels</H3><PRE>public double[] <B>getPixels</B>(int&nbsp;x,                          int&nbsp;y,                          int&nbsp;w,                          int&nbsp;h,                          double[]&nbsp;dArray,                          <A HREF="../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</PRE><DL><DD>Returns all samples for a rectangle of pixels in a double array, one sample per array element. ArrayIndexOutOfBoundsException may be thrown if the coordinates are not in bounds.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - The X coordinate of the upper left pixel location.<DD><CODE>y</CODE> - The Y coordinate of the upper left pixel location.<DD><CODE>w</CODE> - The width of the pixel rectangle.<DD><CODE>h</CODE> - The height of the pixel rectangle.<DD><CODE>dArray</CODE> - If non-null, returns the samples in this array.<DD><CODE>data</CODE> - The DataBuffer containing the image data.</DL></DD></DL><HR><A NAME="getSample(int, int, int, java.awt.image.DataBuffer)"><!-- --></A><H3>getSample</H3><PRE>public abstract int <B>getSample</B>(int&nbsp;x,                              int&nbsp;y,                              int&nbsp;b,                              <A HREF="../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</PRE><DL><DD>Returns the sample in a specified band for the pixel located at (x,y) as an int. ArrayIndexOutOfBoundsException may be thrown if the coordinates are not in bounds.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - The X coordinate of the pixel location.<DD><CODE>y</CODE> - The Y coordinate of the pixel location.<DD><CODE>b</CODE> - The band to return.<DD><CODE>data</CODE> - The DataBuffer containing the image data.</DL></DD></DL><HR><A NAME="getSampleFloat(int, int, int, java.awt.image.DataBuffer)"><!-- --></A><H3>getSampleFloat</H3><PRE>public float <B>getSampleFloat</B>(int&nbsp;x,                            int&nbsp;y,                            int&nbsp;b,                            <A HREF="../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</PRE><DL><DD>Returns the sample in a specified band for the pixel located at (x,y) as a float. ArrayIndexOutOfBoundsException may be thrown if the coordinates are not in bounds.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - The X coordinate of the pixel location.<DD><CODE>y</CODE> - The Y coordinate of the pixel location.<DD><CODE>b</CODE> - The band to return.<DD><CODE>data</CODE> - The DataBuffer containing the image data.</DL></DD></DL><HR><A NAME="getSampleDouble(int, int, int, java.awt.image.DataBuffer)"><!-- --></A><H3>getSampleDouble</H3><PRE>public double <B>getSampleDouble</B>(int&nbsp;x,                              int&nbsp;y,                              int&nbsp;b,                              <A HREF="../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</PRE><DL><DD>Returns the sample in a specified band for a pixel located at (x,y) as a double. ArrayIndexOutOfBoundsException may be thrown if the coordinates are not in bounds.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - The X coordinate of the pixel location.<DD><CODE>y</CODE> - The Y coordinate of the pixel location.<DD><CODE>b</CODE> - The band to return.<DD><CODE>data</CODE> - The DataBuffer containing the image data.</DL></DD></DL><HR><A NAME="getSamples(int, int, int, int, int, int[], java.awt.image.DataBuffer)"><!-- --></A><H3>getSamples</H3><PRE>public int[] <B>getSamples</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)</PRE><DL><DD>Returns the samples for a specified band for the specified rectangle of pixels in an int array, one sample per array element. ArrayIndexOutOfBoundsException may be thrown if the coordinates are not in bounds.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - The X coordinate of the upper left pixel location.<DD><CODE>y</CODE> - The Y coordinate of the upper left pixel location.<DD><CODE>w</CODE> - The width of the pixel rectangle.<DD><CODE>h</CODE> - The height of the pixel rectangle.<DD><CODE>b</CODE> - The band to return.<DD><CODE>iArray</CODE> - If non-null, returns the samples in this array.<DD><CODE>data</CODE> - The DataBuffer containing the image data.</DL></DD></DL><HR><A NAME="getSamples(int, int, int, int, int, float[], java.awt.image.DataBuffer)"><!-- --></A><H3>getSamples</H3><PRE>public float[] <B>getSamples</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)</PRE><DL><DD>Returns the samples for a specified band for the specified rectangle of pixels in a float array, one sample per array element. ArrayIndexOutOfBoundsException may be thrown if the coordinates are not in bounds.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - The X coordinate of the upper left pixel location.<DD><CODE>y</CODE> - The Y coordinate of the upper left pixel location.<DD><CODE>w</CODE> - The width of the pixel rectangle.<DD><CODE>h</CODE> - The height of the pixel rectangle.<DD><CODE>b</CODE> - The band to return.<DD><CODE>fArray</CODE> - If non-null, returns the samples in this array.<DD><CODE>data</CODE> - The DataBuffer containing the image data.</DL></DD></DL><HR><A NAME="getSamples(int, int, int, int, int, double[], java.awt.image.DataBuffer)"><!-- --></A><H3>getSamples</H3><PRE>public double[] <B>getSamples</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)</PRE><DL><DD>Returns the samples for a specified band for a specified rectangle of pixels in a double array, one sample per array element. ArrayIndexOutOfBoundsException may be thrown if the coordinates are not in bounds.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - The X coordinate of the upper left pixel location.<DD><CODE>y</CODE> - The Y coordinate of the upper left pixel location.<DD><CODE>w</CODE> - The width of the pixel rectangle.<DD><CODE>h</CODE> - The height of the pixel rectangle.<DD><CODE>b</CODE> - The band to return.<DD><CODE>dArray</CODE> - If non-null, returns the samples in this array.<DD><CODE>data</CODE> - The DataBuffer containing the image data.</DL></DD></DL><HR><A NAME="setPixel(int, int, int[], java.awt.image.DataBuffer)"><!-- --></A><H3>setPixel</H3><PRE>public void <B>setPixel</B>(int&nbsp;x,                     int&nbsp;y,                     int[]&nbsp;iArray,                     <A HREF="../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</PRE><DL><DD>Sets a pixel in 	the DataBuffer using an int array of samples for input. ArrayIndexOutOfBoundsException may be thrown if the coordinates are not in bounds.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - The X coordinate of the pixel location.<DD><CODE>y</CODE> - The Y coordinate of the pixel location.<DD><CODE>iArray</CODE> - The input samples in an int array.<DD><CODE>data</CODE> - The DataBuffer containing the image data.</DL></DD></DL><HR><A NAME="setPixel(int, int, float[], java.awt.image.DataBuffer)"><!-- --></A><H3>setPixel</H3><PRE>public void <B>setPixel</B>(int&nbsp;x,                     int&nbsp;y,                     float[]&nbsp;fArray,                     <A HREF="../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</PRE><DL><DD>Sets a pixel in the DataBuffer using a float array of samples for input. ArrayIndexOutOfBoundsException may be thrown if the coordinates are not in bounds.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - The X coordinate of the pixel location.<DD><CODE>y</CODE> - The Y coordinate of the pixel location.<DD><CODE>fArray</CODE> - The input samples in a float array.<DD><CODE>data</CODE> - The DataBuffer containing the image data.</DL></DD></DL><HR><A NAME="setPixel(int, int, double[], java.awt.image.DataBuffer)"><!-- --></A><H3>setPixel</H3><PRE>public void <B>setPixel</B>(int&nbsp;x,                     int&nbsp;y,                     double[]&nbsp;dArray,                     <A HREF="../../../java/awt/image/DataBuffer.html">DataBuffer</A>&nbsp;data)</PRE><DL><DD>Sets a pixel in the DataBuffer using a double array of samples for input.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - The X coordinate of the pixel location.<DD><CODE>y</CODE> - The Y coordinate of the pixel location.<DD><CODE>dArray</CODE> - The input samples in a double array.<DD><CODE>data</CODE> - The DataBuffer containing the image data.</DL></DD></DL><HR><A NAME="setPixels(int, int, int, int, int[], java.awt.image.DataBuffer)"><!-- --></A><H3>setPixels</H3><PRE>public void <B>setPixels</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)</PRE><DL><DD>Sets all samples for a rectangle of pixels from an int array containing one sample per array element. ArrayIndexOutOfBoundsException may be thrown if the coordinates are not in bounds.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - The X coordinate of the upper left pixel location.<DD><CODE>y</CODE> - The Y coordinate of the upper left pixel location.<DD><CODE>w</CODE> - The width of the pixel rectangle.<DD><CODE>h</CODE> - The height of the pixel rectangle.<

⌨️ 快捷键说明

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