IFramework.CanvasWidth property
Width of the window overlay in CANVAS UNITS (design space) = ScreenWidth ÷ UI scaleFactor. Position and size windows in these units so they scale with the UI (WindowRect is in canvas units). For HUD sizing that must track physical pixels, use ScreenWidth instead.
public int CanvasWidth { get; }See Also
Section titled “See Also”- interface IFramework
- namespace Stellar.Abstractions.Services