eVision .NET API
Loading...
Searching...
No Matches
eVision.EC24A Struct Reference

Color pixel value coded as 4 unsigned 8-bit integers (red, green, blue and alpha components). More...

Public Member Functions

 EC24A (byte c0, byte c1, byte c2, byte a)
 Constructs a EC24A object.
 EC24A (byte c0, byte c1, byte c2)
 Constructs a EC24A object.

Public Attributes

byte C2
 The value of the third component of the pixel (blue channel).
byte C1
 The value of the second component of the pixel (green channel).
byte C0
 The value of the first component of the pixel (red channel).
byte A
 The value of the alpha component of the pixel. A value of 0 means that the pixel is fully transparent and 255 fully opaque.

Properties

static int Size [get]
 The number of bits in a pixel.

Detailed Description

Color pixel value coded as 4 unsigned 8-bit integers (red, green, blue and alpha components).

This class is suited to handle the Windows 32-bit ARGB color format. The pixel values are coded on 32 bits, leaving 256 possible levels per color component (red, green, blue), as well as 8 more bits for an alpha channel.

License(s): None

Constructor & Destructor Documentation

◆ EC24A() [1/2]

eVision.EC24A.EC24A ( byte c0,
byte c1,
byte c2,
byte a )

Constructs a EC24A object.

Parameters
c0The value of the first component of the pixel (red channel).
c1The value of the second component of the pixel (green channel).
c2The value of the third component of the pixel (blue channel).
aThe value of the alpha component of the pixel. A value of 0 means that the pixel is fully transparent and 255 fully opaque.

◆ EC24A() [2/2]

eVision.EC24A.EC24A ( byte c0,
byte c1,
byte c2 )

Constructs a EC24A object.

Parameters
c0The value of the first component of the pixel (red channel).
c1The value of the second component of the pixel (green channel).
c2The value of the third component of the pixel (blue channel).

Member Data Documentation

◆ A

byte eVision.EC24A.A

The value of the alpha component of the pixel. A value of 0 means that the pixel is fully transparent and 255 fully opaque.

◆ C0

byte eVision.EC24A.C0

The value of the first component of the pixel (red channel).

◆ C1

byte eVision.EC24A.C1

The value of the second component of the pixel (green channel).

◆ C2

byte eVision.EC24A.C2

The value of the third component of the pixel (blue channel).

Property Documentation

◆ Size

int eVision.EC24A.Size
staticget

The number of bits in a pixel.