O1Library Docs
Fall 2026
Docs API

# Generic

o1.gui.Align.Generic
enum Generic

An enumeration of the three generic schemes for aligning visual components, without specifying whether the horizontal or vertical dimension is involved. These generic values can be converted to either horizontal or vertical alignments.

## Attributes

Graph
Supertypes
  trait Enum
  trait Serializable
  trait Product
  trait Equals
  class Object
  trait Matchable
  class Any
  Show all

## Members list

### Type members

#### Enum entries

case BottomOrRight extends Generic
case EitherMiddle extends Generic
case TopOrLeft extends Generic