Settings

Choose language

point(x,y)

point


Draws a point.


Function parameters


  • x coordinate
  • y coordinate

    You can use mathematical equations, variables and size constants when defining coordinates.

    Object properties


    After a point is created, you can get its properties by using the following syntax:
  • .x - returns the point's x coordinate
  • .y - returns the point's y coordinate

    Usage


    p1=point(10,10); (see example below)



    p2=point(p1.x+10,p1.y*2-sz5);


  • We also recommend watching this video for more information in points:

    Previous article

    Functions overview

    Next article

    apply(point,distance,angle)