-
Notifications
You must be signed in to change notification settings - Fork 0
API UI and Text
Eduard Gushchin edited this page Jun 22, 2026
·
8 revisions
Home | API by Category | Complete API Index | API Compatibility
UI controls, labels, fonts and text alignment values.
This category currently contains 20 public types.
| Type | Kind | Summary |
|---|---|---|
| BoxContainer | class | Arranges direct child controls in a single horizontal or vertical line. |
| BoxContainerAlignmentMode | enum | Describes how a Electron2D.BoxContainer positions children when free space remains. |
| CenterContainer | class | Places direct child controls around the center of this container. |
| Container | class | Provides the base control for nodes that arrange direct child controls. |
| Control | class | Provides the Electron2D base node for 2D user interface controls. |
| FocusMode | enum | Identifies how a Electron2D.Control can receive keyboard, gamepad or mouse focus. |
| Font | class | Provides the Electron2D base resource for text layout and drawing. |
| GridContainer | class | Arranges direct child controls into rows and columns. |
| GrowDirection | enum | Describes which side of a Electron2D.Control moves when the control must grow to satisfy its minimum size. |
| HBoxContainer | class | Arranges direct child controls horizontally. |
| HorizontalAlignment | enum | Defines horizontal text alignment values used by Electron2D text drawing APIs. |
| Label | class | Provides the Electron2D control for drawing a single line of plain text. |
| MarginContainer | class | Places direct child controls inside theme-defined margins. |
| MouseFilter | enum | Identifies how a Electron2D.Control receives and consumes mouse input. |
| ScrollContainer | class | Clips and scrolls direct child controls inside a viewport-sized rectangle. |
| ScrollHintMode | enum | Describes which scroll hint edges a Electron2D.ScrollContainer may expose. |
| ScrollMode | enum | Describes how a Electron2D.ScrollContainer exposes scrolling on one axis. |
| SizeFlags | enum | Describes how a Electron2D.Control uses space allocated by a parent Electron2D.Container. |
| VBoxContainer | class | Arranges direct child controls vertically. |
| VerticalAlignment | enum | Identifies the vertical alignment used by controls that draw text. |
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.