UiRect
RectTransform-style layout: normalized anchors (0 top-left, 1 bottom-right), pivot, anchored position, size and stretch offsets.
Kolpa.Engine.UiRect
public sealed class UiRect : Component{ public UiRect(); public Vector2 AnchoredPosition { get; set; } public Vector2 AnchorMax { get; set; } public Vector2 AnchorMin { get; set; } public bool ClipChildren { get; set; } public float Grow { get; set; } public UiSizeMode HeightMode { get; set; } public float MarginBottom { get; set; } public float MarginLeft { get; set; } public float MarginRight { get; set; } public float MarginTop { get; set; } public float MaxHeight { get; set; } public float MaxWidth { get; set; } public float MinHeight { get; set; } public float MinWidth { get; set; } public Vector2 OffsetMax { get; set; } public Vector2 OffsetMin { get; set; } public int Order { get; set; } public float PercentHeight { get; set; } public float PercentWidth { get; set; } public Vector2 Pivot { get; set; } public Vector2 ResolvedPosition { get; } public Vector2 ResolvedSize { get; } public bool ResolvedVisible { get; } public float Shrink { get; set; } public Vector2 Size { get; set; } public bool Visible { get; set; } public UiSizeMode WidthMode { get; set; } public UiRectAuthoredState GetAuthoredState(); public bool TryGetAuthoredState(out UiRectAuthoredState state);}