Skip to content
Version 2.11.0
↓ Get the launcher

Resolution structure

Screen or texture resolution in integer pixels.

public struct Resolution : IEquatable<Resolution>
parameter description
Width Horizontal pixel count.
Height Vertical pixel count.
name description
Resolution(…) Screen or texture resolution in integer pixels.
Height { get; set; } Vertical pixel count.
Key { get; } String key in the form “WIDTHxHEIGHT” (e.g. “1920x1080”), usable as a dictionary key.
Width { get; set; } Horizontal pixel count.
DistanceTo(…) Euclidean distance in pixels.