Direction enum
Properties
- crossAxisVectorIndex → int
-
See documentation for mainAxisVectorIndex.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- mainAxisVectorIndex → int
-
A helper function for returning the index in the various Vector2s like
position and size to get the corresponding axis.
no setter
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
crossAxis(
Vector2 vector) → double -
A helper for returning the cross axis for
vector
, given this direction. -
mainAxis(
Vector2 vector) → double -
A helper for returning the main axis for
vector
, given this direction. -
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