RectangleD.Inflate 方法 (RectangleD, Double, Double)

边缘由指定的距离向外移动的副本。 该副本的中心未被移动。

命名空间:  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
)

参数

  • x
    类型:System.Double
    要移开中心的左右边界数。总宽度增加了 2x。
  • y
    类型:System.Double
    要移开中心的顶部和底部边界数。总高度增加了 2y。

返回值

类型:Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

.NET Framework 安全性

请参阅

参考

RectangleD 结构

Inflate 重载

Microsoft.VisualStudio.Modeling.Diagrams 命名空间