freetypy.Vector

class freetypy.Vector

A 2D vector.

Vector also works as a Python sequence of length 2, so it’s easy to do:

x, y = vector
__init__()

x.__init__(...) initializes x; see help(type(x)) for signature

Attributes

x The x coordinate.
y The y coordinate.