StdPaint.ConsoleBuffer.GetUnitForeColor C# (CSharp) Method

GetUnitForeColor() public method

Gets the foreground color of the specified unit.
public GetUnitForeColor ( Point point ) : BufferColor
point Point The location of the unit.
return BufferColor
        public BufferColor GetUnitForeColor(Point point)
        {
            if (InBounds(ref point))
            {
                return _buffer[point.Y, point.X].ForeColor;
            }
            return BufferColor.Black;
        }

Same methods

ConsoleBuffer::GetUnitForeColor ( int x, int y ) : BufferColor