LinkDecorator.GetPath(RectangleD) 方法

定义

基于传入的边界框返回此 LinkDecorator 的 GraphicsPath。

protected:
 abstract System::Drawing::Drawing2D::GraphicsPath ^ GetPath(Microsoft::VisualStudio::Modeling::Diagrams::RectangleD bounds);
protected abstract System.Drawing.Drawing2D.GraphicsPath GetPath (Microsoft.VisualStudio.Modeling.Diagrams.RectangleD bounds);
abstract member GetPath : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> System.Drawing.Drawing2D.GraphicsPath
Protected MustOverride Function GetPath (bounds As RectangleD) As GraphicsPath

参数

bounds
RectangleD

要在其中绘制路径的矩形。

返回

GraphicsPath

用于生成的 LinkDecorator 的 GraphicsPath。

适用于