neoscore.core.point

class neoscore.core.point.Point[source]

Bases: tuple

A two-dimensional point.

The x-axis grows left-to right, and the y-axis grows top-to-bottom.

property x

The horizontal X-axis value

property y

The vertical Y-axis value

static from_def(point_def: PointDef) Point[source]
static __new__(_cls, x: Unit, y: Unit)

Create new instance of Point(x, y)

neoscore.core.point.ORIGIN = Point(x=Unit(0.0), y=Unit(0.0))

Shorthand for a point at ZERO, ZERO

neoscore.core.point.PointDef

A Point or an argument tuple for one

alias of Union[Point, Tuple[Unit, Unit]]