Skip to main content

DiagramItemDrawingEventArgs(DiagramItem, ItemTool, DiagramActionStage, PointFloat, PointFloat) Constructor

Initializes a new instance of the DiagramItemDrawingEventArgs class.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.1.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

public DiagramItemDrawingEventArgs(
    DiagramItem item,
    ItemTool tool,
    DiagramActionStage stage,
    PointFloat startPosition,
    PointFloat endPosition
)

Parameters

Name Type Description
item DiagramItem

A DiagramItem object representing the diagram item that is being drawn.

tool DevExpress.Diagram.Core.ItemTool

A drawing tool.

stage DiagramActionStage

A DiagramActionStage enumeration value that indicates whether the drawing operation has just started, is continuing or has been finished or canceled.

startPosition PointFloat

The starting point of the drawing operation on the canvas.

endPosition PointFloat

The ending point of the drawing operation on the canvas.

See Also