Struct Color32
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FellowOakDicom.Imaging
Assembly: fo-dicom.core.dll
Syntax
public struct Color32
Constructors
Color32(Byte, Byte, Byte, Byte)
Declaration
public Color32(byte a, byte r, byte g, byte b)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | a | |
System.Byte | r | |
System.Byte | g | |
System.Byte | b |
Color32(Int32)
Declaration
public Color32(int c)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | c |
Fields
Black
Declaration
public static readonly Color32 Black
Field Value
Type | Description |
---|---|
Color32 |
White
Declaration
public static readonly Color32 White
Field Value
Type | Description |
---|---|
Color32 |
Properties
A
Alpha
Declaration
public byte A { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
B
Blue
Declaration
public byte B { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
G
Green
Declaration
public byte G { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
R
Red
Declaration
public byte R { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
Value
ARGB
Declaration
public int Value { readonly get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |