libtcod-net
Color Structure
NamespaceslibtcodWrapperColor
Represents a 32-bit color to the TCOD API.
Declaration Syntax
C#
public struct Color
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
Color(Color)
Copy Constructor for Color

Color(Byte, Byte, Byte)
Form a Color from RGB components.

Addition(Color, Color)
Add two Colors

Black
Blue
Blue

BrightBlue
BrightGreen
BrightRed
BrightYellow
Brown
DarkBlue
DarkGray
DarkGreen
DarkPurple
DarkRed
DarkYellow
Division(Color, Int32)
Divide each component of a color by a give constant

Equality(Color, Color)
Determine if two Colors are equal.

Equals(Object)
Determine if two Colors are equal.
(Overrides ValueType.Equals(Object).)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Calculate Hash Value of a Color
(Overrides ValueType.GetHashCode()()().)
GetHSV(Single%, Single%, Single%)
Returns HSV value from a Color.

GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
Gold
Gray
Green
Green

Inequality(Color, Color)
Determine if two Colors are not equal.

Interpolate(Color, Color, Single)
Interpolate (lerp) a Color with another Color

Interpolate(Color, Color, Double)
Interpolate (lerp) a Color with another Color

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Multiply(Color, Color)
Multiply two Colors

Multiply(Color, Single)
Multiple a Color by a constant

Multiply(Color, Double)
Multiple a Color by a constant

NormalGreen
NormalRed
Orange
Purple
Red
Red

SetHSV(Single, Single, Single)
Form a Color from HSV components.

Silver
Subtraction(Color, Color)
Subtract each component of a color from another, flooring to zero.

ToString()()()
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
White
Yellow

Assembly: libtcodWrapper (Module: libtcodWrapper) Version: 0.2.0.0 (0.2.0.0)