DrawText() public abstract method

public abstract DrawText ( string text ) : void
text string
return void
Ejemplo n.º 1
0
        public override void Draw(Window window)
        {
            for (int i = 0; i < children.Count; i++)
            {
                if (strategy != null)
                    strategy.Compose(children[i], window);
                else
                    children[i].Draw(window);

                if (i < (children.Count - 1))
                    window.DrawText(", ");
            }

            foreach (Glyph item in children)
            {
                
            }
        }
Ejemplo n.º 2
0
 public override void Draw(Window window)
 {
     window.DrawText("Circle"); ;
 }
Ejemplo n.º 3
0
 public override void Draw(Window window)
 {
     window.DrawText("MacButton");
 }
 public void Compose(Glyph item, Window window)
 {
     window.DrawText("[");
     item.Draw(window);
     window.DrawText("]");
 }
Ejemplo n.º 5
0
 public override void Draw(Window window)
 {
     window.DrawText("MacButton");
 }
Ejemplo n.º 6
0
 public override void Draw(Window window)
 {
     window.DrawText("Rectangle");
 }