Skip to content
Version 2.32.0
↓ Get the launcher

CaptureSizing.GuideRect method

Where the photo sits on the screen: the largest rectangle of aspect centred in the window (full height for shapes narrower than the window, full width for wider ones). The capture frames exactly this rectangle of the on-screen view, so it is the frame guide. No shape (or an invalid one / empty window) = the whole window.

public static NormalizedRect GuideRect(int screenWidth, int screenHeight, CaptureAspect? aspect)
parameter description
screenWidth Window width in pixels.
screenHeight Window height in pixels.
aspect The photo shape, or null for the window’s shape.