共用方式為


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

'宣告
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: System.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