Ejemplo n.º 1
0
 public Resource(string text, TextStyle style, Color color)
 {
     _hashString         = "T:" + text + ";" + style.ToString() + ";" + GetColorString(color);
     _name               = _hashString;
     _addResourceCommand = new Commands.ResourceAddText(text, style, color);
 }
Ejemplo n.º 2
0
 public Resource(TextStyle textStyle)
 {
     _name               = textStyle.ToString();
     _hashString         = "F:" + _name;
     _addResourceCommand = new Commands.ResourceAddFont(textStyle);
 }
Ejemplo n.º 3
0
 public void CreateTextStyle(TextStyle style)
 {
     GetResourceId(new Resource(style));
 }
Ejemplo n.º 4
0
 public void Update(string text, TextStyle style, Color color)
 {
     Update(text, style, color, _layout);
 }
Ejemplo n.º 5
0
 public TextView(string text, TextStyle style, Color color, TextLayout layout)
 {
     Update(text, style, color, layout);
 }
Ejemplo n.º 6
0
 public TextView(string text, TextStyle style, Color color)
     : this(text, style, color, 0)
 {
 }