Table of Contents

Struct Pixel

Namespace
RetroEditor.Plugins
Assembly
RetroEditor.dll

A pixel in an image, 8:8:8:8 RGBA format

public struct Pixel
Inherited Members

Constructors

Pixel()

Create a pixel with the default values

public Pixel()

Pixel(byte, byte, byte, byte)

Create a pixel with the specified values

public Pixel(byte r, byte g, byte b, byte a = 255)

Parameters

r byte

red value

g byte

green value

b byte

blue value

a byte

alpha value

Properties

Alpha

Alpha value

public readonly byte Alpha { get; }

Property Value

byte

Blue

Blue value

public readonly byte Blue { get; }

Property Value

byte

Green

Green value

public readonly byte Green { get; }

Property Value

byte

Red

Red value

public readonly byte Red { get; }

Property Value

byte