Axis 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.
See also:
- AxisDirection, which is a directional version of this enum (with values like left and right, rather than just horizontal).
- TextDirection, which disambiguates between left-to-right horizontal content and right-to-left horizontal content.
Values
- horizontal → const Axis
-
Left and right.
See also:
- TextDirection, which disambiguates between left-to-right horizontal content and right-to-left horizontal content.
- vertical → const Axis
-
Up and down.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited