示例#1
0
		public GLTextWriter(Font font)
		{
			Font = font;
			_printer = new TextPrinter();
			
			Color = Color.White;
			Position = Vector2.Zero;
			Options = TextPrinterOptions.Default;
			Alignment = TextAlignment.Near;
			Direction = TextDirection.LeftToRight;
		}
示例#2
0
        public GLTextWriter(Font font)
        {
            Font     = font;
            _printer = new TextPrinter();

            Color     = Color.White;
            Position  = Vector2.Zero;
            Options   = TextPrinterOptions.Default;
            Alignment = TextAlignment.Near;
            Direction = TextDirection.LeftToRight;
        }
示例#3
0
		static ListItem()
		{
			_writer = new GLTextWriter();
			_printer = new TextPrinter();
		}