-
Notifications
You must be signed in to change notification settings - Fork 0
GrowDirection
Home | API by Category | Complete API Index | API Compatibility
| Field | Value |
|---|---|
| Full name | Electron2D.GrowDirection |
| Namespace | Electron2D |
| Kind | enum |
| Category | UI and Text |
Describes which side of a Electron2D.Control moves when the control must grow to satisfy its minimum size.
public enum Electron2D.GrowDirection : System.IComparable, System.IConvertible, System.IFormattable, System.ISpanFormattableElectron2D.Control.SetSize(Electron2D.Vector2) and Electron2D.Control.ResetSize use this value when the requested size is smaller than Electron2D.Control.GetCombinedMinimumSize.
The value is interpreted independently for horizontal and vertical axes through Electron2D.Control.GrowHorizontal and Electron2D.Control.GrowVertical.
This enum is immutable and is safe to use from any thread.
This enum is available since Electron2D 0.1.0 Preview.
Electron2D.Control.GrowHorizontalElectron2D.Control.GrowVertical
| Member | Kind | Summary |
|---|---|---|
Begin |
Enum value | Moves the beginning side while preserving the ending side. |
Both |
Enum value | Splits the required growth between the beginning and ending sides. |
End |
Enum value | Preserves the beginning side while moving the ending side. |
Kind: Enum value
public const Electron2D.GrowDirection BeginMoves the beginning side while preserving the ending side.
On the horizontal axis this moves the left side. On the vertical axis this moves the top side.
This enum value is immutable and is safe to use from any thread.
This enum value is available since Electron2D 0.1.0 Preview.
Electron2D.GrowDirection.BothElectron2D.GrowDirection.End
Kind: Enum value
public const Electron2D.GrowDirection BothSplits the required growth between the beginning and ending sides.
This keeps the control centered around the requested rectangle as closely as floating-point coordinates allow.
This enum value is immutable and is safe to use from any thread.
This enum value is available since Electron2D 0.1.0 Preview.
Electron2D.GrowDirection.BeginElectron2D.GrowDirection.End
Kind: Enum value
public const Electron2D.GrowDirection EndPreserves the beginning side while moving the ending side.
On the horizontal axis this moves the right side. On the vertical axis this moves the bottom side.
This enum value is immutable and is safe to use from any thread.
This enum value is available since Electron2D 0.1.0 Preview.
Electron2D.GrowDirection.BeginElectron2D.GrowDirection.Both
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.