drawPoint

drawPoint(x1:    Real;
          y1:    Real;
          color: Integer);

The drawPoint method of the Window class draws a point on a form or control using a colored pen the width of the drawWidth property, the style of the drawStyle property, and the mode of the drawMode property. If this method is not called from a paint event, set the autoRedraw property to true.

The point is drawn as a line of length 1. The position units of the parameters are Real primitive type values in the units of the scaleMode property of the form or control. The drawPoint method parameters are listed in the following table.

Parameter Description
x1, y1 Horizontal and vertical position of the point to be drawn
color Color of the pen used