Point

Contents

Point#

class discopy.drawing.drawing.Point(x, y)[source]#

Bases: NamedTuple

A point is a pair of floats for the x and y coordinates.

Parameters:
  • x (float) –

  • y (float) –

x: float#

Alias for field number 0

y: float#

Alias for field number 1