边缘由指定的距离向外移动的副本。 该副本的中心未被移动。
命名空间: Microsoft.VisualStudio.Modeling.Diagrams
程序集: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)
语法
声明
Public Shared Function Inflate ( _
rectangle As RectangleD, _
x As Double, _
y As Double _
) As RectangleD
public static RectangleD Inflate(
RectangleD rectangle,
double x,
double y
)
参数
- rectangle
类型:Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
要复制的 RectangleD。不修改此矩形。
- x
类型:System.Double
要移开中心的左右边界数。总宽度增加了 2x。
- y
类型:System.Double
要移开中心的顶部和底部边界数。总高度增加了 2y。
返回值
类型:Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。