hobd.IconTextElement.Draw C# (CSharp) Method

Draw() public method

public Draw ( IDrawingGraphics g ) : void
g IDrawingGraphics
return void
        public override void Draw(IDrawingGraphics g)
        {
            g.Style(this.Style);
            if (clickTimer != null){
            g.Bold(true);
            }
            g.DrawText(this.Text);
            /*
                    g
                    .DrawImage(icon, 10, 0, icon_width, icon_width)
                    .PenWidth(3)
                    .Style(HOBD.theme.PhoneTextNormalStyle)
                    .MoveTo(icon_width + 10, 0)
                    .DrawMultiLineText(alabel, g.Width - g.X)
                    .MoveX(icon_width + 10)
                    .Style(HOBD.theme.PhoneTextSmallStyle)
                    .DrawText(value)
            */
        }