Calculates the width of rectangle.

syntaxSyntax:
DlxRect.Width()

Return Value

The width of DlxRect.

Example

  Copy codeCopy code
var r = new DlxRect(10, 20, 80, 100);
DlxApp.Printf("width=%.2f, height=%.2f", r.Width(), r.Height());

See also