Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: Position

[11:14] static extends: object

Helper for FXGL's Position enum (LEFT, RIGHT, TOP, BOTTOM), used to place UI elements on one of the four sides of a container.

Methods

  • get (string Name)

    Resolves a Position enum value by name.

    • @p Name is "LEFT", "RIGHT", "TOP", or "BOTTOM".
    • @r An AussomJavaObject wrapping the enum value.
  • values ()

    Returns Position[] containing every constant.

  • valueOf (string Name)

    Standard Enum.valueOf strict lookup.