Class Color
Represents a color.
Inherited Members
Namespace: MAT.Atlas.Automation.Api.Models
Assembly: MAT.Atlas.Automation.Api.dll
Syntax
public sealed class Color : ModelBase, IExtensibleDataObject, IColor
Constructors
Color()
Constructor.
Declaration
public Color()
Color(Byte, Byte, Byte, Byte)
Constructor.
Declaration
public Color(byte alpha, byte red, byte green, byte blue)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | alpha | Alpha opacity component. |
System.Byte | red | Red component. |
System.Byte | green | Green component. |
System.Byte | blue | Blue component. |
Fields
Empty
Empty color.
Declaration
public static readonly Color Empty
Field Value
Type | Description |
---|---|
Color |
Properties
Alpha
Alpha opacity component.
Declaration
public byte Alpha { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
Blue
Blue component.
Declaration
public byte Blue { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
Green
Green component.
Declaration
public byte Green { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
Red
Red component.
Declaration
public byte Red { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
Implements
System.Runtime.Serialization.IExtensibleDataObject