It looks like you're new here. If you want to get involved, click one of these buttons!
function Popup:drawMask() local texture = Texture.new("images/background/b1.png", true, {wrap = Texture.REPEAT}) local shape = Shape.new() shape:setFillStyle(Shape.TEXTURE, texture) shape:beginPath(Shape.NON_ZERO) shape:moveTo(-500,-500) shape:lineTo(application:getDeviceWidth()+500, -500) shape:lineTo(application:getDeviceWidth()+500, application:getDeviceHeight()+500) shape:lineTo(-500, application:getDeviceHeight()+500) shape:lineTo(-500,-500) shape:endPath() self:addChild(shape) end function Popup:draw() --shape self:clear() if self.conf.showMask then self:drawMask() end ... |
Comments
popup border is not displayed.