Difference between revisions of "Legacy:Point"

From Spherical
Jump to: navigation, search
(Reformat for new convention)
(added navbox)
 
Line 29: Line 29:
 
* [[API:Rectangle|Rectangle]](x, y, w, h, color)
 
* [[API:Rectangle|Rectangle]](x, y, w, h, color)
  
[[Category:Functions]]
+
{{API:Video/navbox}}

Latest revision as of 21:08, 4 June 2013

Colors a single pixel on the framebuffer.

Usage

Point(x, y, color);


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

API:Video/navbox