Partager via


ShapeGeometry.DoPaint(DiagramPaintEventArgs, IGeometryHost) Method

Definition

Draws the geometry and its shadow if it has one.

public:
 virtual void DoPaint(Microsoft::VisualStudio::Modeling::Diagrams::DiagramPaintEventArgs ^ e, Microsoft::VisualStudio::Modeling::Diagrams::IGeometryHost ^ geometryHost);
public virtual void DoPaint (Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs e, Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost geometryHost);
abstract member DoPaint : Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs * Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost -> unit
override this.DoPaint : Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs * Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost -> unit
Public Overridable Sub DoPaint (e As DiagramPaintEventArgs, geometryHost As IGeometryHost)

Parameters

e
DiagramPaintEventArgs

The DiagramPaintEventArgs that contains paint event data.

geometryHost
IGeometryHost

The instance data for the geometry.

Applies to