示例#1
0
 public TextView(Rect bounds, float depth, TextViewOptions opts) :
     this(new Vector3(bounds.x, bounds.y, depth), new Vector2(bounds.width, bounds.height), opts)
 {
 }
示例#2
0
 public TextView(Vector3 position, Vector2 size, TextViewOptions opts) :
     base(position, size, opts)
 {
     _opts = opts;
     _vPos = opts.StartFromBottom ? this.Extents.height : opts.PaddingTop;
 }