Compartir a través de


LinkShapeGeometry.DrawDecorator Method

Definition

Draws the LinkShape's decorator.

protected:
 static void DrawDecorator(Microsoft::VisualStudio::Modeling::Diagrams::DiagramPaintEventArgs ^ e, Microsoft::VisualStudio::Modeling::Diagrams::IGeometryHost ^ geometryHost, float rotation, Microsoft::VisualStudio::Modeling::Diagrams::PointD centerRight, Microsoft::VisualStudio::Modeling::Diagrams::LinkDecorator ^ decorator, Microsoft::VisualStudio::Modeling::Diagrams::SizeD geometrySize);
protected static void DrawDecorator (Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs e, Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost geometryHost, float rotation, Microsoft.VisualStudio.Modeling.Diagrams.PointD centerRight, Microsoft.VisualStudio.Modeling.Diagrams.LinkDecorator decorator, Microsoft.VisualStudio.Modeling.Diagrams.SizeD geometrySize);
static member DrawDecorator : Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs * Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost * single * Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.LinkDecorator * Microsoft.VisualStudio.Modeling.Diagrams.SizeD -> unit
Protected Shared Sub DrawDecorator (e As DiagramPaintEventArgs, geometryHost As IGeometryHost, rotation As Single, centerRight As PointD, decorator As LinkDecorator, geometrySize As SizeD)

Parameters

e
DiagramPaintEventArgs

A DiagramPaintEventArgs containing paint event data.

geometryHost
IGeometryHost

The instance data for the geometry.

rotation
Single

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

centerRight
PointD

The point that represents the center of the rotation.

decorator
LinkDecorator

The LinkDecorator to draw.

geometrySize
SizeD

The geometry size of the shape to draw

Applies to