Table of Contents

Struct ImagePixel

Namespace
SharpConsoleUI.Imaging
Assembly
SharpConsoleUI.dll

Represents a single pixel with 24-bit RGB color.

public readonly record struct ImagePixel : IEquatable<ImagePixel>
Implements
Inherited Members
Extension Methods

Constructors

ImagePixel(byte, byte, byte)

Represents a single pixel with 24-bit RGB color.

public ImagePixel(byte R, byte G, byte B)

Parameters

R byte
G byte
B byte

Properties

B

public byte B { get; init; }

Property Value

byte

G

public byte G { get; init; }

Property Value

byte

R

public byte R { get; init; }

Property Value

byte