(7ee8dbc11) v0.9.8.0
This commit is contained in:
@@ -375,6 +375,15 @@ namespace Microsoft.Xna.Framework
|
||||
Height += (int)verticalAmount * 2;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Adjusts the edges of this <see cref="Rectangle"/> by specified horizontal and vertical amounts.
|
||||
/// </summary>
|
||||
/// <param name="amount">Value to adjust the edges.</param>
|
||||
public void Inflate(Vector2 amount)
|
||||
{
|
||||
Inflate(amount.X, amount.Y);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets whether or not the other <see cref="Rectangle"/> intersects with this rectangle.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user