Lua-tests中LabelTest.lua中无法将colorlayer移到预期的位置

lua-tests中LabelTest.lua中第1300行中的这个函数定义处,我修改了这个colorlayer的Position以及查看anchorPoint,我觉得这个colorLayer应该要显示在窗口中心位置才对,可事实是相当于anchorPoint在(0,0)的效果,实在不解,特来求教。
请看我的截图:

添加“colorlayer:ignoreAnchorPointForPosition(false)”,问题解决了。
原来是因为layer有其特殊性,所以不加的话那个setAnchorPoint根本不会起作用的。