Skip to content
Version 2.35.0
↓ Get the launcher

LayerRect record

Where a StackLayer sits inside its stack (framework 2.34.0). Per axis: both insets set = stretch between them; only the near inset (Left / Top) = anchored to that edge with the fixed Width / Height (0 = stretch to the far edge); only the far inset (Right / Bottom) = anchored to that edge with the fixed size; neither = the whole axis.

public record LayerRect
name description
LayerRect() The default constructor.
Bottom { get; set; } Inset from the stack’s bottom edge, px.
Height { get; set; } Fixed height when only one vertical inset is set; 0 = stretch.
Left { get; set; } Inset from the stack’s left edge, px.
Right { get; set; } Inset from the stack’s right edge, px.
Top { get; set; } Inset from the stack’s top edge, px.
Width { get; set; } Fixed width when only one horizontal inset is set; 0 = stretch.