Table of Contents

Struct Color

Namespace
Alis.Core.Aspect.Math.Definition
Assembly
Alis.dll

The color

[Serializable]
public struct Color : ISerializable

Implements

Inherited Members

Constructors

Color(byte, byte, byte, byte)

Initializes a new instance of the Alis.Core.Aspect.Math.Definition.Color class

public Color(byte r, byte g, byte b, byte a)

Parameters

r byte

The

g byte

The

b byte

The

a byte

The

Color(int, int, int, int)

Initializes a new instance of the Alis.Core.Aspect.Math.Definition.Color class

public Color(int r, int g, int b, int a)

Parameters

r int

The

g int

The

b int

The

a int

The

Properties

A

The

public byte A { readonly get; set; }

Property Value

byte

B

The

public byte B { readonly get; set; }

Property Value

byte

Black

Gets the value of the black

public static Color Black { get; }

Property Value

Color

Brown

Gets or sets the value of the brown

public static Color Brown { get; }

Property Value

Color

DarkGreen

Gets or sets the value of the dark green

public static Color DarkGreen { get; }

Property Value

Color

G

The

public byte G { readonly get; set; }

Property Value

byte

Green

Gets the value of the green

public static Color Green { get; }

Property Value

Color

R

The

public byte R { readonly get; set; }

Property Value

byte

Red

Gets the value of the red

public static Color Red { get; }

Property Value

Color

Methods

GetObjectData(SerializationInfo, StreamingContext)

Gets the object data using the specified info

public void GetObjectData(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The info

context StreamingContext

The context