g.js — graphical objects for JavaScript

makePointmakePoint

Create a point from X/Y coordinates.

g.makePoint(100, 50);

Parameters

  • x: The X position of the point.
  • y: The Y position of the point.