< Previous | Contents | Next >

pixel

The Pixel object that is used to set the color values of the image’s canvas.

Example


local p = Pixel()


p:Clear() img:SetCanvasColor(p)


print("Image canvas is now black/transparent")