Exemplo n.º 1
0
        /// <summary>
        /// Gets the color value of the pixel at the specified coordinate.
        /// </summary>
        /// <param name="x">The x-coordinate of the pixel.</param>
        /// <param name="y">The y-coordinate of the pixel.</param>
        /// <returns>The color value of the pixel.</returns>
        public Color GetPixel(int x, int y)
        {
            if (m_rbuf.IsInbox(x, y) == true)
            {
                return(m_span.Get(m_rbuf.Row(y), x));
            }

            return(Color.Black);
        }