Share via


LinkShapeGeometry.DrawDecorator Method

Draws the LinkShape's decorator.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
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

  • rotation
    Type: Single

    The angle (extent) of the clockwise rotation around the point specified by centerRight

.NET Framework Security

See Also

Reference

LinkShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace