Esempio n. 1
0
 /// <summary>
 /// 完整的初始化
 /// </summary>
 public RenderPoint(string str, EngineColor foreColor, EngineColor backColor, int depth)
 {
     this.str       = str;
     this.foreColor = foreColor;
     this.backColor = backColor;
     Depth          = depth;
 }
Esempio n. 2
0
 /// <summary>
 /// 使用默认颜色的字符串初始化
 /// </summary>
 public RenderPoint(string str, int depth)
 {
     this.str  = str;
     backColor = RendererSystem.DefaultColorBack;
     foreColor = RendererSystem.DefaultColorFore;
     Depth     = depth;
 }
Esempio n. 3
0
 /// <summary>
 /// 使用前景颜色的字符串初始化
 /// </summary>
 public RenderPoint(string str, EngineColor foreColor, int depth)
 {
     this.str       = str;
     this.foreColor = foreColor;
     backColor      = RendererSystem.DefaultColorBack;
     Depth          = depth;
 }
Esempio n. 4
0
 /// <summary>
 /// 默认生成纯色材质
 /// </summary>
 public Material(EngineColor ForeColor, EngineColor BackColor)
 {
     isFullColor    = true;
     this.ForeColor = ForeColor;
     this.BackColor = BackColor;
 }
Esempio n. 5
0
 //自定义初始化
 public void Init(int depth, EngineColor foreColor, EngineColor backColor)
 {
     this.depth     = depth;
     this.foreColor = foreColor;
     this.backColor = backColor;
 }