I am trying to understand those reference points in Corona. It is said that the default reference point is the center of the object, however the x position of center of the textObject isn't at 100 but 150 when I run this code:
local textObject = display.newText( "Hello World!", 100, 100, nil , 20 )
I displayed those position with touch event on the screen and printing the x and y position of touched places:
local function onScreenTouch(event)
print("x: "..event.x.." y: "..event.y);
end
Runtime:addEventListener("tap", onScreenTouch)