Table of Contents

Method Contains

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

Contains(int, int)

Determines if the specified point is contained within the rectangular region defined by this RectI.

public readonly bool Contains(int px, int py)

Parameters

px int
py int

Returns

bool

Contains(PointI)

Determines if the specified point is contained within the rectangular region defined by this RectI.

public readonly bool Contains(PointI pt)

Parameters

pt PointI

Returns

bool

Contains(RectI)

Determines if the rectangular region represented by rect is entirely contained within the rectangular region represented by this RectI.

public readonly bool Contains(RectI rect)

Parameters

rect RectI

Returns

bool