Table of Contents

Method NotEmptyAndContains

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

NotEmptyAndContains(double, double)

Gets whether rectangle is not empty and contains the specified point.

public readonly bool NotEmptyAndContains(double x, double y)

Parameters

x double

X coordinate of the point to test.

y double

Y coordinate of the point to test.

Returns

bool

NotEmptyAndContains(PointD)

Gets whether rectangle is not empty and contains the specified point.

public readonly bool NotEmptyAndContains(PointD pt)

Parameters

pt PointD

Point to test.

Returns

bool