OptionalallowOptionalorigin?: booleanfalse excludes the point (0, 0) (default true).
OptionalaxisWhere the point lies relative to the axes (default null).
'x': on the x-axis (y = 0); 'y': on the y-axis (x = 0).true: on one of the two axes, chosen at random.false: on no axis (no coordinate is zero).null: unconstrained (a coordinate may be zero).Optionalfractionfalse (default): integer coordinates; true: fractions; object: full control over the fractions.
OptionalquadrantRestricts the point to one quadrant, or to a union of quadrants (default null).
Axes belong to the quadrants: quadrant 1 means x >= 0 and y >= 0.
With several quadrants, one of them is chosen uniformly, then the point is drawn in it.
OptionalrangeInterval of the coordinates (default 10). A number d means [-|d|, |d|]
(so 10 and -10 are equivalent); {min, max} gives explicit bounds.
Options of
rndPoint.