Struct PixelSize¶
Namespace: Apogee.Platform
Assembly: Apogee.Platform.dll
A size in pixels: what a swapchain is created with (on a high-density display it is larger than the window's size in points).
public readonly record struct PixelSize : IEquatable<PixelSize>
Implements¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors¶
PixelSize(int, int)¶
A size in pixels: what a swapchain is created with (on a high-density display it is larger than the window's size in points).
public PixelSize(int Width, int Height)
Parameters¶
Width int
Height int
Properties¶
Height¶
public int Height { get; init; }
Property Value¶
IsEmpty¶
public bool IsEmpty { get; }
Property Value¶
Width¶
public int Width { get; init; }
Property Value¶
Methods¶
ToString()¶
Returns the fully qualified type name of this instance.
public override string ToString()
Returns¶
The fully qualified type name.