Skip to main content

renderer.getBoundsForBubble()

Gets the bounding box for a text bubble associated with a drawable.

Syntax

renderer.getBoundsForBubble(drawableID)

Parameters

drawableID

Type: number

The ID of the drawable that owns the bubble.

Returns

Type: object

Bounding box object (left, right, top, bottom, width, height).

See Also