Skip to content
Version 2.11.0
↓ Get the launcher

WindowSpec.Surface property

Which render surface the window’s Text / Bar (Default style) / Pill leaves use. Defaults to Menu = the window theme chrome (unchanged — every existing window keeps rendering exactly as before). Set HudOverlay to reproduce the borderless HUD look for those leaves: shadowed text over the world, rounded HP-bar chrome, and a transparent pill chip — byte-identical to the native HUD renderer, so a HUD-path plugin can migrate onto the window path with pixel-exact fidelity. Only those three leaf types are affected; all other widgets render identically either way. The positional constructor is unchanged, so this is non-breaking.

public SurfaceStyle Surface { get; set; }