Skip to content

POINT ​

Draws a single round point or dot.

Syntax ​

leo-grammar
POINT [ x:measureValue ] [ y:measureValue ] .

Parameters ​

  • x (measureValue, optional) - The x-coordinate of the point. The default is 0cm.
  • y (measureValue, optional) - The y-coordinate of the point. The default is 0cm.

Details ​

The style of this command is defined by the PEN command.

See Also ​

Examples ​

Draw four points with a size of 0.1cm of varying colors.
Four dots with the colors black, green, orange and red

leo
GRAPHREP
SHADOW off

PEN w:0.1cm
POINT x:0cm y:0cm
PEN w:0.1cm color:"green"
POINT x:1cm y:0cm
PEN w:0.1cm color:"orange"
POINT x:1cm y:1cm
PEN w:0.1cm color:"red"
POINT x:0cm y:1cm

Versions and Changes ​

Available since ADOxx 1.3