DrawText() public abstract method

public abstract DrawText ( string text ) : void
text string
return void
Esempio 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)
            {
                
            }
        }
Esempio n. 2
0
 public override void Draw(Window window)
 {
     window.DrawText("Circle"); ;
 }
Esempio 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("]");
 }
Esempio n. 5
0
 public override void Draw(Window window)
 {
     window.DrawText("MacButton");
 }
Esempio n. 6
0
 public override void Draw(Window window)
 {
     window.DrawText("Rectangle");
 }