LinkShapeGeometry.DrawDecorator Method
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Protected Shared Sub DrawDecorator ( _
e As DiagramPaintEventArgs, _
geometryHost As IGeometryHost, _
rotation As Single, _
centerRight As PointD, _
decorator As LinkDecorator _
)
'Usage
Dim e As DiagramPaintEventArgs
Dim geometryHost As IGeometryHost
Dim rotation As Single
Dim centerRight As PointD
Dim decorator As LinkDecorator
LinkShapeGeometry.DrawDecorator(e, geometryHost, _
rotation, centerRight, decorator)
protected static void DrawDecorator(
DiagramPaintEventArgs e,
IGeometryHost geometryHost,
float rotation,
PointD centerRight,
LinkDecorator decorator
)
protected:
static void DrawDecorator(
DiagramPaintEventArgs^ e,
IGeometryHost^ geometryHost,
float rotation,
PointD centerRight,
LinkDecorator^ decorator
)
protected static function DrawDecorator(
e : DiagramPaintEventArgs,
geometryHost : IGeometryHost,
rotation : float,
centerRight : PointD,
decorator : LinkDecorator
)
Parameters
- geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost
- rotation
Type: System.Single
- centerRight
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
- decorator
Type: Microsoft.VisualStudio.Modeling.Diagrams.LinkDecorator
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.