En:PointInRect

Материал из Pocket Fallout для КПК на PDA PC PPC Mobile.

Содержание

Account

Method of class MathModel

Syntax

PointInRect(x : Number, 
            y : Number], 
            xRect : Number, 
            yRect : Number, 
            width : Number, 
            height : Number) : Boolean

Description

Check: point (x, y) is in rectangle begining with coordinates (xRect, yRect). Method PointInRect works faster than PointInPolygon;

Parameters

Result

The method returns TRUE, if point (x, y) is in rectangle begining with coordinates (xRect, yRect), FALSE - otherwise. Data type - Boolean

Личные инструменты