isInArea

Determines whether a pixel location is within the given area.

Return

true if the pixel location is within the area, false otherwise.

Parameters

area

The area to check against.


fun Location.isInArea(area: Area): Boolean(source)

Checks if the given location is within the specified area.

Return

true if the location is inside the area, false otherwise.

Parameters

area

The area to check against.


Checks if the current pixel location is within any of the areas in the cache.

Return

true if the pixel location is within an area, false otherwise.


fun Location.isInArea(): Boolean(source)

Checks if the current location is inside any area defined in the area cache.

Return

true if the current location is in any area, false otherwise.