Type Boolean Object LineObject Library display.* Revision 2017.3060 Keywords line, segments, anchor See also display.newLine()
This boolean property controls whether LineObjects take anchorX and anchorY into account. This value is false
by default.
local star = display.newLine( 200,90, 227,165, 305,165, 243,216, 265,290, 200,245, 135,290, 157,215, 95,165, 173,165, 200,90 ) star.x = display.contentWidth * 0.5 star.y = display.contentHeight * 0.5 star.anchorSegments = true star.anchorX = 0.75 star.anchorY = 0.25