Valid

Namespace: Digi21.Math
Assembly: Digi21.DigiNG

Indicates whether the window is initialized and its bounds are ordered.

bool Valid { get; }

Property value

bool. In Window2D, true if Xmin is not null, Xmin <= Xmax and Ymin <= Ymax. The property does not throw exceptions.

A Window2D with non-null Xmin and Xmin > Xmax has Valid set to false, but Width, Height and the cardinal points do not throw an exception: they return values calculated from those bounds, such as a negative width.

Back to IWindow2D.