Struct BitfieldColorMask
Specify the color mask when the BITMAPINFOHEADER structure biCompression uses BI_BITFIELDS
Namespace: Dapplo.Windows.Gdi32.Structs
Assembly: Dapplo.Windows.Gdi32.dll
Syntax
public struct BitfieldColorMask
Properties
| Improve this Doc View SourceBlue
Blue component of the mask
Declaration
public uint Blue { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Green
Green component of the mask
Declaration
public uint Green { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Red
Red component of the mask
Declaration
public uint Red { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Methods
| Improve this Doc View SourceCreate(Byte, Byte, Byte)
Create with BitfieldColorMask defaults
Declaration
public static BitfieldColorMask Create(byte r = null, byte g = null, byte b = null)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | r | byte value for Red component of the mask |
System.Byte | g | byte value for Green component of the mask |
System.Byte | b | byte value for Blue component of the mask |
Returns
Type | Description |
---|---|
BitfieldColorMask |