Icon Contains Method

function Contains(X,Y: Integer): Boolean

function Contains(APoint: TPoint): Boolean

Available In: Client Applications

Use this method to determine if the specified coordinates are contained within the coordinates of the rectangle.
Image