Name
Plot -- draw a pixel
Synopsis
Plot(x, y[, color])
Function
This function draws a single pixel to the display in the specified color. Plot() works only with disabled layers. If you want to have a 1x1 sized layer, you can use Box() to achieve this result.

New in Hollywood 2.0: Color can also be an ARGB value for alpha-blended drawing.

Note that when drawing to a palette-based target and the palette mode is set to #PALETTEMODE_PEN, this function will draw using the pen set via SetDrawPen() instead of the color passed to the function.

Inputs
x
x offset
y
y offset
color
optional: RGB or ARGB color (defaults to #BLACK) color is optional because it is not required when you render to a mask or alpha channel
Example
Plot(#CENTER, #CENTER, #RED)
Plot a red pixel in the middle of your display.

Show TOC