Skip to main content

CustomHitTestEventArgs(DiagramItem, PointF, RectangleF, Single) Constructor

Initializes a new instance of the CustomHitTestEventArgs class with the specified settings.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.2.dll

Declaration

public CustomHitTestEventArgs(
    DiagramItem item,
    PointF point,
    RectangleF bounds,
    float angle
)

Parameters

Name Type Description
item DiagramItem

A DiagramItem to which the test point belongs.

point PointF

A PointF value that is the current test point position within the item.

bounds RectangleF

A A RectangleF object that represents the bounds of the item to which the test point belongs.

angle Single

A Single value that is the angle in degrees by which the item is rotated around its anchor point.

Remarks

Instances of the CustomHitTestEventArgs class are automatically created, initialized and passed to the corresponding event handlers.

See Also