Please use. NET 5,. NET 6, NET 7,. NET 8, NET Framework 4.6, NET Framework 4.61, NET Framework 4.7, NET Framework 4.72, NET Framework 4.8, NET Framework 4.81, and. NET Core 3.1 versions

RectFInflate 方法

重载列表

Inflate(SizeF) Expands or shrinks the rectangle by the specified size 按指定大小扩展或收缩矩形
Inflate(Single, Single) Expands or shrinks the rectangle by the specified amount 按指定量扩展或收缩矩形
Inflate(Rect, Int32, Int32) Creates a rectangle that results from expanding the specified rectangle 创建通过扩展指定矩形而产生的新矩形

参见