Legacy:Point
From Spherical
Colors a single pixel on the framebuffer.
Contents
Usage
Point(x, y, color);
- x the X coordinate to color
- y the Y coordinate to color
- color a color object created with CreateColor
Notes
Remember that FlipScreen must be called before any drawing is visible on the screen.
Examples
Draw a point on the screen:
var Red = CreateColor(255, 0, 0, 255);
Point(16, 16, Red);
See also
- Sphere Color Object
- CreateColor(r, g, b, a)
- Line(x1, x2, y1, y2, color)
- Rectangle(x, y, w, h, color)