Skip to main content

DiagramItem(Single, Single, Single, Single) Constructor

Initializes a new instance of the DiagramItem class.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.1.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

public DiagramItem(
    float x,
    float y,
    float width,
    float height
)

Parameters

Name Type Description
x Single

A Single value, specifying the horizontal coordinate of the item’s upper left corner.

y Single

A Single value, specifying the vertical coordinate of the item’s upper left corner.

width Single

A Single value, specifying the item width.

height Single

A Single value, specifying the item height.

See Also