Difference between revisions of "Legacy:Point"

From Spherical
Jump to: navigation, search
(Created page with "Category:Functions Colors a single pixel on the framebuffer. ;Point(x, y, color); * '''x''' the X coordinate to color * '''y''' the Y coordinate to color * '''color'''...")
 
m (Apollolux moved page Point to API:Point: API)
(No difference)

Revision as of 18:48, 6 April 2013


Colors a single pixel on the framebuffer.

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