Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgsA DiagramPaintEventArgs containing paint event data.
geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHostThe instance data for the geometry.
rotation
Type: SingleThe angle (extent) of the clockwise rotation around the point specified by centerRight
centerRight
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointDThe point that represents the center of the rotation.
decorator
Type: Microsoft.VisualStudio.Modeling.Diagrams.LinkDecoratorThe LinkDecorator to draw.
geometrySize
Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeDThe 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.