KernelAPI reference
Struct SurfaceResized
Namespace: MicroEngine.Kernel
Assembly: MicroEngine.Kernel.dll
Guide: Modules and the frame schedule
The new size of the drawing surface, in pixels (Resized).
public readonly struct SurfaceResized : IEquatable<SurfaceResized>Implements
Constructors
SurfaceResized(int, int)
The new size of the drawing surface, in pixels (Resized).
public SurfaceResized(int Width, int Height)Parameters
Width int
Width in pixels.
Height int
Height in pixels.
Properties
Height
Height in pixels.
public int Height { get; init; }Property Value
Width
Width in pixels.
public int Width { get; init; }Property Value
Methods
Deconstruct(out int, out int)
public void Deconstruct(out int Width, out int Height)Parameters
Width int
Height int
Equals(object)
public override bool Equals(object obj)Parameters
obj object
Returns
Equals(SurfaceResized)
public bool Equals(SurfaceResized other)Parameters
other SurfaceResized
Returns
GetHashCode()
public override int GetHashCode()Returns
ToString()
public override string ToString()Returns
Operators
operator ==(SurfaceResized, SurfaceResized)
public static bool operator ==(SurfaceResized left, SurfaceResized right)Parameters
left SurfaceResized
right SurfaceResized
Returns
operator !=(SurfaceResized, SurfaceResized)
public static bool operator !=(SurfaceResized left, SurfaceResized right)Parameters
left SurfaceResized
right SurfaceResized