Graphics.TextBuffer.Get C# (CSharp) 메소드

Get() 공개 메소드

public Get ( int Idx ) : TextBufferEntry
Idx int
리턴 TextBufferEntry
        public TextBufferEntry Get(int Idx)
        {
            Idx *= 4;
            return new TextBufferEntry((char)ForeDataRaw[Idx + 3],
                new Color(ForeDataRaw[Idx], ForeDataRaw[Idx + 1], ForeDataRaw[Idx + 2]),
                new Color(BackDataRaw[Idx], BackDataRaw[Idx + 1], BackDataRaw[Idx + 2], BackDataRaw[Idx + 3]));
        }

Same methods

TextBuffer::Get ( int X, int Y ) : TextBufferEntry