public FreeRichText(FreeTextBuilder builder)
 {
     this.Texts = new List<SimpleText>();
     this.PageIndexs = new List<int>();
     this.ClientWidth = 200;
     this.ClientHeight = 600;
     this.Builder = builder;
 }
 public FreeTextList()
 {
     this.TextList = new List<TextItem>();
     this.displayOffset = Microsoft.Xna.Framework.Point.Zero;
     this.align = TextAlign.None;
     this.textColor = Microsoft.Xna.Framework.Graphics.Color.Black;
     this.Builder = new FreeTextBuilder();
 }
Exemple #3
0
 public FreeTextList()
 {
     this.TextList      = new List <TextItem>();
     this.displayOffset = Microsoft.Xna.Framework.Point.Zero;
     this.align         = TextAlign.None;
     this.textColor     = Microsoft.Xna.Framework.Graphics.Color.Black;
     this.Builder       = new FreeTextBuilder();
 }
 public FreeRichText(FreeTextBuilder builder)
 {
     this.Texts        = new List <SimpleText>();
     this.PageIndexs   = new List <int>();
     this.ClientWidth  = 200;
     this.ClientHeight = 600;
     this.Builder      = builder;
 }
Exemple #5
0
 public FreeText(FreeTextBuilder builder)
 {
     this.position      = Microsoft.Xna.Framework.Rectangle.Empty;
     this.displayOffset = Microsoft.Xna.Framework.Point.Zero;
     this.align         = TextAlign.None;
     this.textColor     = Microsoft.Xna.Framework.Graphics.Color.Black;
     this.textTexture   = null;
     this.Builder       = builder;
 }
 public FreeText(FreeTextBuilder builder)
 {
     this.position = Microsoft.Xna.Framework.Rectangle.Empty;
     this.displayOffset = Microsoft.Xna.Framework.Point.Zero;
     this.align = TextAlign.None;
     this.textColor = Microsoft.Xna.Framework.Graphics.Color.Black;
     this.textTexture = null;
     this.Builder = builder;
 }
 public FreeTextList(GraphicsDevice device, Font font, Microsoft.Xna.Framework.Graphics.Color color)
 {
     this.TextList = new List<TextItem>();
     this.displayOffset = Microsoft.Xna.Framework.Point.Zero;
     this.align = TextAlign.None;
     this.textColor = Microsoft.Xna.Framework.Graphics.Color.Black;
     this.Builder = new FreeTextBuilder();
     this.Builder.SetFreeTextBuilder(device, font);
     this.textColor = color;
 }
Exemple #8
0
 public FreeTextList(GraphicsDevice device, Font font, Microsoft.Xna.Framework.Graphics.Color color)
 {
     this.TextList      = new List <TextItem>();
     this.displayOffset = Microsoft.Xna.Framework.Point.Zero;
     this.align         = TextAlign.None;
     this.textColor     = Microsoft.Xna.Framework.Graphics.Color.Black;
     this.Builder       = new FreeTextBuilder();
     this.Builder.SetFreeTextBuilder(device, font);
     this.textColor = color;
 }
Exemple #9
0
 public FreeText(GraphicsDevice device, Font font)
 {
     this.position      = Microsoft.Xna.Framework.Rectangle.Empty;
     this.displayOffset = Microsoft.Xna.Framework.Point.Zero;
     this.align         = TextAlign.None;
     this.textColor     = Microsoft.Xna.Framework.Graphics.Color.Black;
     this.textTexture   = null;
     this.Builder       = new FreeTextBuilder();
     this.Builder.SetFreeTextBuilder(device, font);
 }
Exemple #10
0
 public FreeText(GraphicsDevice device, Font font)
 {
     this.position = Microsoft.Xna.Framework.Rectangle.Empty;
     this.displayOffset = Microsoft.Xna.Framework.Point.Zero;
     this.align = TextAlign.None;
     this.textColor = Microsoft.Xna.Framework.Graphics.Color.Black;
     this.textTexture = null;
     this.Builder = new FreeTextBuilder();
     this.Builder.SetFreeTextBuilder(device, font);
 }