Exemplo n.º 1
0
 /// <summary>
 /// Set the width of this rect.
 /// </summary>
 public static Rect Width(this HUMMath.Data.SetRect set, float value)
 {
     return(new Rect(set.rect.x, set.rect.y, value, set.rect.height));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Set the height of this rect.
 /// </summary>
 public static Rect Height(this HUMMath.Data.SetRect set, float value)
 {
     return(new Rect(set.rect.x, set.rect.y, set.rect.width, value));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Set the X value of this rect.
 /// </summary>
 public static Rect X(this HUMMath.Data.SetRect set, float value)
 {
     return(new Rect(value, set.rect.y, set.rect.width, set.rect.height));
 }