local rt = RenderTarget.new(100, 100, true)
local shape = Shape.new()
shape:setLineStyle(2,123,1)
shape:beginPath()
shape:moveTo(0,0)
shape:lineTo(100,25)
shape:endPath()
rt:draw(shape)
shape:clear()
shape:setLineStyle(2,123,1)
shape:beginPath()
shape:moveTo(100,0)
shape:lineTo(200,25)
shape:endPath()
local brt = Bitmap.new(rt)
stage:addChild(brt)
stage:addChild(shape)
Comments
http://www.giderosmobile.com/roadmap
how was the first one drawed and how was the second one drawed?
Likes: seppsepp