LinkShapeGeometry.DrawDecorator Method
Draws the LinkShape's decorator.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
Protected Shared Sub DrawDecorator ( _
e As DiagramPaintEventArgs, _
geometryHost As IGeometryHost, _
rotation As Single, _
centerRight As PointD, _
decorator As LinkDecorator, _
geometrySize As SizeD _
)
protected static void DrawDecorator(
DiagramPaintEventArgs e,
IGeometryHost geometryHost,
float rotation,
PointD centerRight,
LinkDecorator decorator,
SizeD geometrySize
)
protected:
static void DrawDecorator(
DiagramPaintEventArgs^ e,
IGeometryHost^ geometryHost,
float rotation,
PointD centerRight,
LinkDecorator^ decorator,
SizeD geometrySize
)
static member DrawDecorator :
e:DiagramPaintEventArgs *
geometryHost:IGeometryHost *
rotation:float32 *
centerRight:PointD *
decorator:LinkDecorator *
geometrySize:SizeD -> unit
protected static function DrawDecorator(
e : DiagramPaintEventArgs,
geometryHost : IGeometryHost,
rotation : float,
centerRight : PointD,
decorator : LinkDecorator,
geometrySize : SizeD
)
Parameters
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs
A DiagramPaintEventArgs containing paint event data.
- geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost
The instance data for the geometry.
- rotation
Type: System.Single
The angle (extent) of the clockwise rotation around the point specified by centerRight
- centerRight
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
The point that represents the center of the rotation.
- decorator
Type: Microsoft.VisualStudio.Modeling.Diagrams.LinkDecorator
The LinkDecorator to draw.
- geometrySize
Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
The geometry size of the shape to draw
.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.