[Ipe-discuss] Retrieving a text object's height in LUA

Otfried Cheong ipe at otfried.org
Thu Apr 1 15:18:32 CEST 2021


On Thu, Apr 1, 2021, at 15:04, Otfried Cheong via Ipe-discuss wrote:
> On Thu, Apr 1, 2021, at 14:34, Lluís Alemany Puig via Ipe-discuss wrote:
> > Is it possible to retrieve the height of a text object in LUA in the 
> > current version of Ipe?
> 
> I'm afraid there is currently no Lua API for the height - but I'll add 
> it in the next release.

But depending on what you want to do, the 'bbox' method of the page object (http://ipe.otfried.org/manual/luapage.html) might give you everything you need?

Cheers,
  Otfried



More information about the Ipe-discuss mailing list