LinkShapeGeometry.GetPath 方法 (IGeometryHost)

获取描述几何形状的 GraphicsPath。默认情况下将返回矩形路径。这是在几何形状的一个。不要配置。这是在几何图形类的一个。不要配置。立即使用。,如果另一个路径是必需的,请使用 GetPathCopy!

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

语法

声明
Public Overrides Function GetPath ( _
    geometryHost As IGeometryHost _
) As GraphicsPath
public override GraphicsPath GetPath(
    IGeometryHost geometryHost
)

参数

返回值

类型:System.Drawing.Drawing2D.GraphicsPath

.NET Framework 安全性

请参见

参考

LinkShapeGeometry 类

GetPath 重载

Microsoft.VisualStudio.Modeling.Diagrams 命名空间