Skip to content

API Reference

This section contains automatically generated API documentation from the Hex1b library's XML doc comments.

Namespaces

Browse the API by namespace:

Core

NamespaceDescription
Hex1bCore application types, extension methods, and render context

Widgets & Nodes

NamespaceDescription
Hex1b.WidgetsWidget records that describe UI components
Hex1b.NodesMutable node classes that manage state and rendering

Layout

NamespaceDescription
Hex1b.LayoutLayout primitives: Constraints, Size, Rect, SizeHint

Input & Events

NamespaceDescription
Hex1b.InputInput handling, key bindings, and input routing
Hex1b.EventsEvent argument types for widget interactions

Theming

NamespaceDescription
Hex1b.ThemingTheme system for customizing colors and characters
Hex1b.TokensDesign tokens for consistent theming

Advanced

NamespaceDescription
Hex1b.AnimationAnimation timer and utilities
Hex1b.AutomationTerminal automation, input sequences, and snapshot testing
Hex1b.SurfacesLow-level surface rendering and cell manipulation

Core Types

Common Widgets

Layout Types

  • Constraints — Min/max width/height bounds for layout
  • Size — Measured dimensions
  • Rect — Position and size for arrangement
  • SizeHint — Fill, Content, or Fixed sizing

Extension Methods

Extension methods are documented on their defining class and also listed in the "Extension Methods" section of each type they extend:


Using the API Reference

Each type page includes:

  • Syntax — The type signature
  • Inheritance — Base types and interfaces
  • Extension Methods — Methods from extension classes that apply to this type
  • Members — Constructors, properties, methods, events

Released under the MIT License.