Lua 如何使用透明内部背景的拉环(corona sdk)
如何绘制内部背景透明的圆环(corona sdk)。dipslay.newCircle将只绘制一个圆,而不绘制戒指。试试这个Lua 如何使用透明内部背景的拉环(corona sdk),lua,coronasdk,Lua,Coronasdk,如何绘制内部背景透明的圆环(corona sdk)。dipslay.newCircle将只绘制一个圆,而不绘制戒指。试试这个 local circle = display.newCircle (100,100,200) circle:setFillColor(0,0,0,0) --This will set the fill color to transparent circle.strokeWidth = 3 --This is the width of the outline of the
local circle = display.newCircle (100,100,200)
circle:setFillColor(0,0,0,0) --This will set the fill color to transparent
circle.strokeWidth = 3 --This is the width of the outline of the circle
circle:setStrokeColor(255,0,0) --This is the color of the outline
在较新版本的Corona SDK中,用于此目的的API已经更改。参观