Skip to content

Origin

kloppy.domain.Origin

Bases: Enum

The location of the origin in a CoordinateSystem.

Defines where the (0, 0) point is located on the field.

ATTRIBUTE DESCRIPTION
TOP_LEFT

Origin at the top left of the field

BOTTOM_LEFT

Origin at the bottom left of the field

CENTER

Origin at the center of the field

TOP_LEFT class-attribute instance-attribute

TOP_LEFT = 'top-left'

BOTTOM_LEFT class-attribute instance-attribute

BOTTOM_LEFT = 'bottom-left'

CENTER class-attribute instance-attribute

CENTER = 'center'