다음을 통해 공유


DiagramPaintEventArgs Constructors

Definition

Overloads

DiagramPaintEventArgs()

Initializes a new instance of the DiagramPaintEventArgs class.

DiagramPaintEventArgs(Graphics, Rectangle, DiagramClientView, Boolean)

Initializes a new instance of the DiagramPaintEventArgs class.

DiagramPaintEventArgs()

Initializes a new instance of the DiagramPaintEventArgs class.

protected:
 DiagramPaintEventArgs();
protected DiagramPaintEventArgs ();
Protected Sub New ()

Applies to

DiagramPaintEventArgs(Graphics, Rectangle, DiagramClientView, Boolean)

Initializes a new instance of the DiagramPaintEventArgs class.

public:
 DiagramPaintEventArgs(System::Drawing::Graphics ^ graphics, System::Drawing::Rectangle clipRectangle, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ diagramClientView, bool paintChildShapes);
public DiagramPaintEventArgs (System.Drawing.Graphics graphics, System.Drawing.Rectangle clipRectangle, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView diagramClientView, bool paintChildShapes);
new Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs : System.Drawing.Graphics * System.Drawing.Rectangle * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * bool -> Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs
Public Sub New (graphics As Graphics, clipRectangle As Rectangle, diagramClientView As DiagramClientView, paintChildShapes As Boolean)

Parameters

graphics
Graphics

The Graphics object used to paint.

clipRectangle
Rectangle

The clipping region in device units

diagramClientView
DiagramClientView

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

paintChildShapes
Boolean

A value indicating whether the child shapes should be painted.

Applies to