Show / Hide Table of Contents

Class Color

Represents a color in (R, G, B, A) format.

Inheritance
System.Object
Color
Namespace: Mannequin.Bindings
Assembly: Collapse.dll
Syntax
public class Color : object

Constructors

Color(Microsoft.Xna.Framework.Color)

Declaration
public Color(Microsoft.Xna.Framework.Color col)
Parameters
Type Name Description
Microsoft.Xna.Framework.Color col

Color(Int32, Int32, Int32, Int32)

Create a Color.

Declaration
public Color(int r, int g, int b, int a = 255)
Parameters
Type Name Description
System.Int32 r

The red-value

System.Int32 g

The green-value

System.Int32 b

The blue-value

System.Int32 a

The alpha value

Properties

A

The alpha of this Color.

Declaration
public int A { get; set; }
Property Value
Type Description
System.Int32

B

The blue-value of this Color.

Declaration
public int B { get; set; }
Property Value
Type Description
System.Int32

G

The green-value of this Color.

Declaration
public int G { get; set; }
Property Value
Type Description
System.Int32

R

The red-value of this Color.

Declaration
public int R { get; set; }
Property Value
Type Description
System.Int32
Back to top © 2020 Anarkis Gaming. All rights reserved. Generated by DocFX