createCallout

fun createCallout(text: String, position: Point): Callout


fun createCallout(owner: TreeUnit?, position: Point): Callout

Create a callout for this unit. The unit or its entity has to be already in layout. Otherwise, returns null.

Return

created hint or null if the unit does not belong to layout

Parameters

owner

to create for

position

where to place