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
Properties
Alpha
Alpha value
public readonly byte Alpha { get; }
Property Value
Blue
Blue value
public readonly byte Blue { get; }
Property Value
Green
Green value
public readonly byte Green { get; }
Property Value
Red
Red value
public readonly byte Red { get; }