-
Notifications
You must be signed in to change notification settings - Fork 0
HorizontalAlignment
Home | API by Category | Complete API Index | API Compatibility
| Field | Value |
|---|---|
| Full name | Electron2D.HorizontalAlignment |
| Namespace | Electron2D |
| Kind | enum |
| Category | UI and Text |
Defines horizontal text alignment values used by Electron2D text drawing APIs.
public enum Electron2D.HorizontalAlignment : System.IComparable, System.IConvertible, System.IFormattable, System.ISpanFormattableProfile: Electron2D 0.1.0 2D
Status: Supported / Parity verified
Out of profile: no
Godot reference: HorizontalAlignment
Horizontal alignment values used by text drawing APIs.
This type is part of the Electron2D 0.1.0 Preview public API.
Enum values are immutable and can be used from any thread.
This enum is available since Electron2D 0.1.0 Preview.
Electron2D.CanvasItem.DrawString(Electron2D.Font,Electron2D.Vector2,System.String,Electron2D.HorizontalAlignment,System.Single,System.Int32,System.Nullable{Electron2D.Color})
| Member | Kind | Summary |
|---|---|---|
Center |
Enum value | Align text to the center of the available width. |
Fill |
Enum value | Expand text spacing to fill the available width when supported. |
Left |
Enum value | Align text to the left side of the available width. |
Right |
Enum value | Align text to the right side of the available width. |
Kind: Enum value
public const Electron2D.HorizontalAlignment CenterAlign text to the center of the available width.
Use this value with APIs that accept HorizontalAlignment.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.HorizontalAlignment
Kind: Enum value
public const Electron2D.HorizontalAlignment FillExpand text spacing to fill the available width when supported.
Use this value with APIs that accept HorizontalAlignment.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.HorizontalAlignment
Kind: Enum value
public const Electron2D.HorizontalAlignment LeftAlign text to the left side of the available width.
Use this value with APIs that accept HorizontalAlignment.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.HorizontalAlignment
Kind: Enum value
public const Electron2D.HorizontalAlignment RightAlign text to the right side of the available width.
Use this value with APIs that accept HorizontalAlignment.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.HorizontalAlignment
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.