MapShape.getPoint

Syntax

getPoint(offsetX: Number, offsetY: Number);

Parameters

offsetX. Offset from the leftmost point of the map layer area in shares. The value can range from 0 and 1.

offsetY. Offset from the topmost point of the map layer area in shares. The value can range from 0 to 1.

Description

The getPoint method returns a point that belongs to map layer area, by offsets from left and top map border.

Comments

The method returns a PP.Vector3 value.

Example

The example of use is given in the page with description of the MapShape.getBoundingBox method.

See also:

MapShape