Rectangle.Inflate Method (Microsoft.Xna.Framework)
Adjusts the edges of this Rectangle by specified horizontal and vertical amounts.
- C#
- VB
- F#
public void Inflate( float horizontalAmount, float verticalAmount )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- horizontalAmount
-
Type: System.Single
Value to adjust the left and right edges.
- verticalAmount
-
Type: System.Single
Value to adjust the top and bottom edges.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web