pixel(x, y, color, size)
Renders a single pixel at the given size.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
x | number | X position of the pixel to be rendered. | ||
y | number | Y position of the pixel to be rendered. | ||
color | string | <optional> | Color of the pixel (format is css color string). | |
size | number | <optional> | 2 | The 'size' to render the pixel at. |
- Source code: utils/Debug.js (Line 560)
Please login to continue.