LinkShapeGeometry::DrawDecorator Method (DiagramPaintEventArgs^, IGeometryHost^, Single, PointD, LinkDecorator^, SizeD)
Visual Studio 2015
Draws the LinkShape's decorator.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
protected: static void DrawDecorator( DiagramPaintEventArgs^ e, IGeometryHost^ geometryHost, float rotation, PointD centerRight, LinkDecorator^ decorator, SizeD geometrySize )
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
Show: