Skip to content

Axis

Inherits: Enum

The two cardinal directions in two dimensions.

The axis is always relative to the current coordinate space. This means, for example, that a [horizontal] axis might actually be diagonally from top right to bottom left, due to some local transform applied to the scene.

Properties

Properties#

HORIZONTAL = 'horizontal' class-attribute instance-attribute #

Left and right.

VERTICAL = 'vertical' class-attribute instance-attribute #

Up and down.