Point Class

class Point

Represents a Point in the Quadrant Chart

__construct(string $name, float $x, float $y)

Create a Point

Parameters:
  • $name (string) – Point name

  • $x (float) – Point position on the X axis; 0 <= $x <= 1

  • $y (float) – Point position on the Y axis; 0 <= $y <= 1

Returns:

A new Point instance

Return type:

Point

withComment(string $comment)

Set a comment for the Point

Parameters:
  • $comment (string) – The comment

Returns:

A new Point instance with the comment

Return type:

Point