using System; namespace UnityEngine.Experimental.UIElements { // Token: 0x02000349 RID: 841 public struct Spacing { // Token: 0x060033E9 RID: 13289 RVA: 0x0005273C File Offset: 0x0005093C public Spacing(float left, float top, float right, float bottom) { this.left = left; this.top = top; this.right = right; this.bottom = bottom; } // Token: 0x17000BD3 RID: 3027 // (get) Token: 0x060033EA RID: 13290 RVA: 0x0005275C File Offset: 0x0005095C public float horizontal { get { return this.left + this.right; } } // Token: 0x17000BD4 RID: 3028 // (get) Token: 0x060033EB RID: 13291 RVA: 0x00052780 File Offset: 0x00050980 public float vertical { get { return this.top + this.bottom; } } // Token: 0x060033EC RID: 13292 RVA: 0x000527A4 File Offset: 0x000509A4 public static Rect operator +(Rect r, Spacing a) { r.x -= a.left; r.y -= a.top; r.width += a.horizontal; r.height += a.vertical; return r; } // Token: 0x060033ED RID: 13293 RVA: 0x00052810 File Offset: 0x00050A10 public static Rect operator -(Rect r, Spacing a) { r.x += a.left; r.y += a.top; r.width -= a.horizontal; r.height -= a.vertical; return r; } // Token: 0x04000ACB RID: 2763 public float left; // Token: 0x04000ACC RID: 2764 public float top; // Token: 0x04000ACD RID: 2765 public float right; // Token: 0x04000ACE RID: 2766 public float bottom; } }