coldtype.geometry.Point

class Point(point)

Bases: object

Representation of a point (x,y), indexable

interp(v, other)

Interpolate with another point

offset(dx, dy)

Offset by dx, dy

rect(w, h)

Create a rect from this point as center, with w and h dimensions provided

xy()

As a tuple