computeToolbarPosition
Documentation / @elitechart/core / computeToolbarPosition
Defined in: ui/floating-toolbar.ts:258
Compute the (left, top) for a toolbar of size tw×th over a bbox,
clamped to cw×ch. Default is centered above bbox; flips below if
the top would clip against the container's top edge.
Parameters
bbox
tw
number
th
number
cw
number
ch
number
gap
number