DesktopThumbnail record

Namespace Runic.Platform in Runic.Platform 0.23.0

public sealed record DesktopThumbnail : IEquatable<DesktopThumbnail>

Inherits or implements IEquatable.

A thumbnail: a PNG image and its size in pixels.

Parameters

Png

The PNG file's bytes.

Width

The image's width in pixels.

Height

The image's height in pixels.

Constructors

DesktopThumbnail

public DesktopThumbnail(ImmutableArray<byte> Png, int Width, int Height)

A thumbnail: a PNG image and its size in pixels.

Parameters

Png

The PNG file's bytes.

Width

The image's width in pixels.

Height

The image's height in pixels.

Properties

Height

public int Height { get; init; }

The image's height in pixels.

Png

public ImmutableArray<byte> Png { get; init; }

The PNG file's bytes.

Width

public int Width { get; init; }

The image's width in pixels.