Enumerations

The following enumerations are available globally.

  • Key

    The Key enumeration contains special encoding for some keys, but can also encode all the unicode values that can be passed.

    If the SpecialMask is set, then the value is that of the special mask, otherwise, the value is the one of the lower bits (as extracted by CharMask)

    Control keys are the values between 1 and 26 corresponding to Control-A to Control-Z

    UnicodeScalars are also stored here, the letter ‘A" for example is encoded as a value 65 (not surfaced in the enum).

    See more

    Declaration

    Swift

    public enum Key
  • Determines the LayoutStyle for a view, if Absolute, during LayoutSubviews, the value from the Frame will be used, if the value is Computer, then the Frame will be updated from the X, Y Pos objets and the Width and Heigh Dim objects.

    See more

    Declaration

    Swift

    public enum LayoutStyle
  • Basic colors that can be used to set the foreground and background colors in console applications, these can be used as parameters for creating Attributes.

    See more

    Declaration

    Swift

    public enum Color : Hashable
  • Text alignment enumeration, controls how text is displayed.

    See more

    Declaration

    Swift

    public enum TextAlignment
  • The technique used by the label to break up the content

    See more

    Declaration

    Swift

    public enum LineBreakMode
  • Specifies how a MenuItemshows selection state.

    See more

    Declaration

    Swift

    public enum MenuItemStyle
  • Describes an orientation

    See more

    Declaration

    Swift

    public enum Orientation