DiagramPaintEventArgs Constructor (Graphics^, Rectangle, DiagramClientView^, Boolean)

 

Initializes a new instance of the DiagramPaintEventArgs class.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
DiagramPaintEventArgs(
	Graphics^ graphics,
	Rectangle clipRectangle,
	DiagramClientView^ diagramClientView,
	bool paintChildShapes
)

Parameters

graphics
Type: System.Drawing::Graphics^

The Graphics object used to paint.

clipRectangle
Type: System.Drawing::Rectangle

The clipping region in device units

diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramClientView^

The view that the Graphics object belongs to. This may be null if the Graphics object does not belong to one.

paintChildShapes
Type: System::Boolean

A value indicating whether the child shapes should be painted.

Return to top
Show: