Пример #1
0
        public override void Draw(IDraw draw)
        {
            draw.DrawChar(this.m_content, this.FontColor, this.Font,
                this.Rectangle.Left,
                this.Rectangle.Top,
                0,
                null);

#if DEBUG
            // 绘制字符边距
            //draw.DrawRectangleLine(1, System.Drawing.Color.Red.ToArgb(), this.Rectangle.Left,
            //    this.Rectangle.Top, this.Rectangle.Width, this.Rectangle.Height,
            //    DrawLineStyle.Solid,null);
#endif
        }