computePickingDrawingBufferRectangle

external fun computePickingDrawingBufferRectangle(drawingBufferHeight: Double, position: Cartesian2, width: Double?, height: Double?, result: BoundingRectangle): BoundingRectangle(source)

Compute the rectangle that describes the part of the drawing buffer that is relevant for picking.

Return

The result rectangle

Parameters

drawingBufferHeight

The height of the drawing buffer

position

The position inside the drawing buffer

width

The width of the rectangle, assumed to be an odd integer number, default : 3.0

height

The height of the rectangle. If unspecified, height will default to the value of width

result

The result rectangle

See also