textbox

entity:textbox()

Solo per entità testo. Ritorna 2 punti, sintassi come LISP textbox.

Esempio 1. Esempio textbox

local txt = entmake{ {0, "TEXT"}, {10, Point(0, 0, 0)}, {40, 2.5}, {1, "HELLO"} }
if txt then
  local p1, p2 = txt:textbox()
  print("\ntextbox p1 tipo = " .. type(p1) .. " p2 tipo = " .. type(p2))
  txt:erase()
else
  print("\ntextbox: entmake TEXT = nil")
end

Created with the Personal Edition of HelpNDoc: Simplify Your Help Documentation Process with a Help Authoring Tool