Space Fighter
A "shmup" game for Computer Programming C++
Loading...
Searching...
No Matches
KatanaEngine::Color Class Reference

Represents a four-component color using red, green, blue, and alpha data. More...

#include <Color.h>

Public Member Functions

 Color (const float red=1, const float green=1, const float blue=1, const float alpha=1)
 Instantiate a color object.
 
const Color operator* (const float scalar) const
 Multiplies each component by a scale factor.
 
bool operator== (const Color &color) const
 Determines if two colors are equal.
 
bool operator!= (const Color &color) const
 Determines if two colors are not equal.
 
ALLEGRO_COLOR GetAllegroColor () const
 Get the color-equivalent allegro color.
 

Static Public Member Functions

static Color Lerp (const Color &start, const Color &end, const float value)
 Linearly interpolate between two colors.
 

Static Public Attributes

static const Color AliceBlue = Color(0.94f, 0.97f, 1.0f)
 AliceBlue.
 
static const Color AntiqueWhite = Color(0.98f, 0.92f, 0.84f)
 AntiqueWhite.
 
static const Color Aqua = Color(0.0f, 1.0f, 1.0f)
 Aqua.
 
static const Color Aquamarine = Color(0.5f, 1.0f, 0.83f)
 Aquamarine.
 
static const Color Azure = Color(0.94f, 1.0f, 1.0f)
 Azure.
 
static const Color Beige = Color(0.96f, 0.96f, 0.86f)
 Beige.
 
static const Color Bisque = Color(1.0f, 0.89f, 0.77f)
 Bisque.
 
static const Color Black = Color(0.0f, 0.0f, 0.0f)
 Black.
 
static const Color BlanchedAlmond = Color(1.0f, 0.92f, 0.8f)
 BlanchedAlmond.
 
static const Color Blue = Color(0.0f, 0.0f, 1.0f)
 Blue.
 
static const Color BlueViolet = Color(0.54f, 0.17f, 0.89f)
 BlueViolet.
 
static const Color Brown = Color(0.65f, 0.16f, 0.16f)
 Brown.
 
static const Color Burlywood = Color(0.87f, 0.72f, 0.53f)
 Burlywood.
 
static const Color CadetBlue = Color(0.37f, 0.62f, 0.63f)
 CadetBlue.
 
static const Color Chartreuse = Color(0.5f, 1.0f, 0.0f)
 Chartreuse.
 
static const Color Chocolate = Color(0.82f, 0.41f, 0.12f)
 Chocolate.
 
static const Color Coral = Color(1.0f, 0.5f, 0.31f)
 Coral.
 
static const Color Cornflower = Color(0.39f, 0.58f, 0.93f)
 Cornflower.
 
static const Color Cornsilk = Color(1.0f, 0.97f, 0.86f)
 Cornsilk.
 
static const Color Crimson = Color(0.86f, 0.08f, 0.24f)
 Crimson.
 
static const Color Cyan = Color(0.0f, 1.0f, 1.0f)
 Cyan.
 
static const Color DarkBlue = Color(0.0f, 0.0f, 0.55f)
 DarkBlue.
 
static const Color DarkCyan = Color(0.0f, 0.55f, 0.55f)
 DarkCyan.
 
static const Color DarkGoldenrod = Color(0.72f, 0.53f, 0.04f)
 DarkGoldenrod.
 
static const Color DarkGray = Color(0.66f, 0.66f, 0.66f)
 DarkGray.
 
static const Color DarkGreen = Color(0.0f, 0.39f, 0.0f)
 DarkGreen.
 
static const Color DarkKhaki = Color(0.74f, 0.72f, 0.42f)
 DarkKhaki.
 
static const Color DarkMagenta = Color(0.55f, 0.0f, 0.55f)
 DarkMagenta.
 
static const Color DarkOliveGreen = Color(0.33f, 0.42f, 0.18f)
 DarkOliveGreen.
 
static const Color DarkOrange = Color(1.0f, 0.55f, 0.0f)
 DarkOrange.
 
static const Color DarkOrchid = Color(0.6f, 0.2f, 0.8f)
 DarkOrchid.
 
static const Color DarkRed = Color(0.55f, 0.0f, 0.0f)
 DarkRed.
 
static const Color DarkSalmon = Color(0.91f, 0.59f, 0.48f)
 DarkSalmon.
 
static const Color DarkSeaGreen = Color(0.56f, 0.74f, 0.56f)
 DarkSeaGreen.
 
static const Color DarkSlateBlue = Color(0.28f, 0.24f, 0.55f)
 DarkSlateBlue.
 
static const Color DarkSlateGray = Color(0.18f, 0.31f, 0.31f)
 DarkSlateGray.
 
static const Color DarkTurquoise = Color(0.0f, 0.81f, 0.82f)
 DarkTurquoise.
 
static const Color DarkViolet = Color(0.58f, 0.0f, 0.83f)
 DarkViolet.
 
static const Color DeepPink = Color(1.0f, 0.08f, 0.58f)
 DeepPink.
 
static const Color DeepSkyBlue = Color(0.0f, 0.75f, 1.0f)
 DeepSkyBlue.
 
static const Color DimGray = Color(0.41f, 0.41f, 0.41f)
 DimGray.
 
static const Color DodgerBlue = Color(0.12f, 0.56f, 1.0f)
 DodgerBlue.
 
static const Color Firebrick = Color(0.7f, 0.13f, 0.13f)
 Firebrick.
 
static const Color FloralWhite = Color(1.0f, 0.98f, 0.94f)
 FloralWhite.
 
static const Color ForestGreen = Color(0.13f, 0.55f, 0.13f)
 ForestGreen.
 
static const Color Fuchsia = Color(1.0f, 0.0f, 1.0f)
 Fuchsia.
 
static const Color Gainsboro = Color(0.86f, 0.86f, 0.86f)
 Gainsboro.
 
static const Color GhostWhite = Color(0.97f, 0.97f, 1.0f)
 GhostWhite.
 
static const Color Gold = Color(1.0f, 0.84f, 0.0f)
 Gold.
 
static const Color Goldenrod = Color(0.85f, 0.65f, 0.13f)
 Goldenrod.
 
static const Color Gray = Color(0.75f, 0.75f, 0.75f)
 Gray.
 
static const Color WebGray = Color(0.5f, 0.5f, 0.5f)
 WebGray.
 
static const Color Green = Color(0.0f, 1.0f, 0.0f)
 Green.
 
static const Color WebGreen = Color(0.0f, 0.5f, 0.0f)
 WebGreen.
 
static const Color GreenYellow = Color(0.68f, 1.0f, 0.18f)
 GreenYellow.
 
static const Color Honeydew = Color(0.94f, 1.0f, 0.94f)
 Honeydew.
 
static const Color HotPink = Color(1.0f, 0.41f, 0.71f)
 HotPink.
 
static const Color IndianRed = Color(0.8f, 0.36f, 0.36f)
 IndianRed.
 
static const Color Indigo = Color(0.29f, 0.0f, 0.51f)
 Indigo.
 
static const Color Ivory = Color(1.0f, 1.0f, 0.94f)
 Ivory.
 
static const Color Khaki = Color(0.94f, 0.9f, 0.55f)
 Khaki.
 
static const Color Lavender = Color(0.9f, 0.9f, 0.98f)
 Lavender.
 
static const Color LavenderBlush = Color(1.0f, 0.94f, 0.96f)
 LavenderBlush.
 
static const Color LawnGreen = Color(0.49f, 0.99f, 0.0f)
 LawnGreen.
 
static const Color LemonChiffon = Color(1.0f, 0.98f, 0.8f)
 LemonChiffon.
 
static const Color LightBlue = Color(0.68f, 0.85f, 0.9f)
 LightBlue.
 
static const Color LightCoral = Color(0.94f, 0.5f, 0.5f)
 LightCoral.
 
static const Color LightCyan = Color(0.88f, 1.0f, 1.0f)
 LightCyan.
 
static const Color LightGoldenrod = Color(0.98f, 0.98f, 0.82f)
 LightGoldenrod.
 
static const Color LightGray = Color(0.83f, 0.83f, 0.83f)
 LightGray.
 
static const Color LightGreen = Color(0.56f, 0.93f, 0.56f)
 LightGreen.
 
static const Color LightPink = Color(1.0f, 0.71f, 0.76f)
 LightPink.
 
static const Color LightSalmon = Color(1.0f, 0.63f, 0.48f)
 LightSalmon.
 
static const Color LightSeaGreen = Color(0.13f, 0.7f, 0.67f)
 LightSeaGreen.
 
static const Color LightSkyBlue = Color(0.53f, 0.81f, 0.98f)
 LightSkyBlue.
 
static const Color LightSlateGray = Color(0.47f, 0.53f, 0.6f)
 LightSlateGray.
 
static const Color LightSteelBlue = Color(0.69f, 0.77f, 0.87f)
 LightSteelBlue.
 
static const Color LightYellow = Color(1.0f, 1.0f, 0.88f)
 LightYellow.
 
static const Color Lime = Color(0.0f, 1.0f, 0.0f)
 Lime.
 
static const Color LimeGreen = Color(0.2f, 0.8f, 0.2f)
 LimeGreen.
 
static const Color Linen = Color(0.98f, 0.94f, 0.9f)
 Linen.
 
static const Color Magenta = Color(1.0f, 0.0f, 1.0f)
 Magenta.
 
static const Color Maroon = Color(0.69f, 0.19f, 0.38f)
 Maroon.
 
static const Color WebMaroon = Color(0.5f, 0.0f, 0.0f)
 WebMaroon.
 
static const Color MediumAquamarine = Color(0.4f, 0.8f, 0.67f)
 MediumAquamarine.
 
static const Color MediumBlue = Color(0.0f, 0.0f, 0.8f)
 MediumBlue.
 
static const Color MediumOrchid = Color(0.73f, 0.33f, 0.83f)
 MediumOrchid.
 
static const Color MediumPurple = Color(0.58f, 0.44f, 0.86f)
 MediumPurple.
 
static const Color MediumSeaGreen = Color(0.24f, 0.7f, 0.44f)
 MediumSeaGreen.
 
static const Color MediumSlateBlue = Color(0.48f, 0.41f, 0.93f)
 MediumSlateBlue.
 
static const Color MediumSpringGreen = Color(0.0f, 0.98f, 0.6f)
 MediumSpringGreen.
 
static const Color MediumTurquoise = Color(0.28f, 0.82f, 0.8f)
 MediumTurquoise.
 
static const Color MediumVioletRed = Color(0.78f, 0.08f, 0.52f)
 MediumVioletRed.
 
static const Color MidnightBlue = Color(0.1f, 0.1f, 0.44f)
 MidnightBlue.
 
static const Color MintCream = Color(0.96f, 1.0f, 0.98f)
 MintCream.
 
static const Color MistyRose = Color(1.0f, 0.89f, 0.88f)
 MistyRose.
 
static const Color Moccasin = Color(1.0f, 0.89f, 0.71f)
 Moccasin.
 
static const Color NavajoWhite = Color(1.0f, 0.87f, 0.68f)
 NavajoWhite.
 
static const Color NavyBlue = Color(0.0f, 0.0f, 0.5f)
 NavyBlue.
 
static const Color OldLace = Color(0.99f, 0.96f, 0.9f)
 OldLace.
 
static const Color Olive = Color(0.5f, 0.5f, 0.0f)
 Olive.
 
static const Color OliveDrab = Color(0.42f, 0.56f, 0.14f)
 OliveDrab.
 
static const Color Orange = Color(1.0f, 0.65f, 0.0f)
 Orange.
 
static const Color OrangeRed = Color(1.0f, 0.27f, 0.0f)
 OrangeRed.
 
static const Color Orchid = Color(0.85f, 0.44f, 0.84f)
 Orchid.
 
static const Color PaleGoldenrod = Color(0.93f, 0.91f, 0.67f)
 PaleGoldenrod.
 
static const Color PaleGreen = Color(0.6f, 0.98f, 0.6f)
 PaleGreen.
 
static const Color PaleTurquoise = Color(0.69f, 0.93f, 0.93f)
 PaleTurquoise.
 
static const Color PaleVioletRed = Color(0.86f, 0.44f, 0.58f)
 PaleVioletRed.
 
static const Color PapayaWhip = Color(1.0f, 0.94f, 0.84f)
 PapayaWhip.
 
static const Color PeachPuff = Color(1.0f, 0.85f, 0.73f)
 PeachPuff.
 
static const Color Peru = Color(0.8f, 0.52f, 0.25f)
 Peru.
 
static const Color Pink = Color(1.0f, 0.75f, 0.8f)
 Pink.
 
static const Color Plum = Color(0.87f, 0.63f, 0.87f)
 Plum.
 
static const Color PowderBlue = Color(0.69f, 0.88f, 0.9f)
 PowderBlue.
 
static const Color Purple = Color(0.63f, 0.13f, 0.94f)
 Purple.
 
static const Color WebPurple = Color(0.5f, 0.0f, 0.5f)
 WebPurple.
 
static const Color RebeccaPurple = Color(0.4f, 0.2f, 0.6f)
 RebeccaPurple.
 
static const Color Red = Color(1.0f, 0.0f, 0.0f)
 Red.
 
static const Color RosyBrown = Color(0.74f, 0.56f, 0.56f)
 RosyBrown.
 
static const Color RoyalBlue = Color(0.25f, 0.41f, 0.88f)
 RoyalBlue.
 
static const Color SaddleBrown = Color(0.55f, 0.27f, 0.07f)
 SaddleBrown.
 
static const Color Salmon = Color(0.98f, 0.5f, 0.45f)
 Salmon.
 
static const Color SandyBrown = Color(0.96f, 0.64f, 0.38f)
 SandyBrown.
 
static const Color SeaGreen = Color(0.18f, 0.55f, 0.34f)
 SeaGreen.
 
static const Color Seashell = Color(1.0f, 0.96f, 0.93f)
 Seashell.
 
static const Color Sienna = Color(0.63f, 0.32f, 0.18f)
 Sienna.
 
static const Color Silver = Color(0.75f, 0.75f, 0.75f)
 Silver.
 
static const Color SkyBlue = Color(0.53f, 0.81f, 0.92f)
 SkyBlue.
 
static const Color SlateBlue = Color(0.42f, 0.35f, 0.8f)
 SlateBlue.
 
static const Color SlateGray = Color(0.44f, 0.5f, 0.56f)
 SlateGray.
 
static const Color Snow = Color(1.0f, 0.98f, 0.98f)
 Snow.
 
static const Color SpringGreen = Color(0.0f, 1.0f, 0.5f)
 SpringGreen.
 
static const Color SteelBlue = Color(0.27f, 0.51f, 0.71f)
 SteelBlue.
 
static const Color Tan = Color(0.82f, 0.71f, 0.55f)
 Tan.
 
static const Color Teal = Color(0.0f, 0.5f, 0.5f)
 Teal.
 
static const Color Thistle = Color(0.85f, 0.75f, 0.85f)
 Thistle.
 
static const Color Tomato = Color(1.0f, 0.39f, 0.28f)
 Tomato.
 
static const Color Turquoise = Color(0.25f, 0.88f, 0.82f)
 Turquoise.
 
static const Color Violet = Color(0.93f, 0.51f, 0.93f)
 Violet.
 
static const Color Wheat = Color(0.96f, 0.87f, 0.7f)
 Wheat.
 
static const Color White = Color(1.0f, 1.0f, 1.0f)
 White.
 
static const Color WhiteSmoke = Color(0.96f, 0.96f, 0.96f)
 WhiteSmoke.
 
static const Color Yellow = Color(1.0f, 1.0f, 0.0f)
 Yellow.
 
static const Color YellowGreen = Color(0.6f, 0.8f, 0.2f)
 YellowGreen.
 

Detailed Description

Represents a four-component color using red, green, blue, and alpha data.

Definition at line 20 of file Color.h.

Constructor & Destructor Documentation

◆ Color()

KatanaEngine::Color::Color ( const float red = 1,
const float green = 1,
const float blue = 1,
const float alpha = 1 )

Instantiate a color object.

Parameters
redThe red value of the color.
greenThe green value of the color.
blueThe blue value of the color.
alphaThe alpha value (opacity) of the color.

Definition at line 168 of file Color.cpp.

Member Function Documentation

◆ GetAllegroColor()

ALLEGRO_COLOR KatanaEngine::Color::GetAllegroColor ( ) const
inline

Get the color-equivalent allegro color.

Returns
Returns the mapped allegro color.

Definition at line 57 of file Color.h.

◆ Lerp()

Color KatanaEngine::Color::Lerp ( const Color & start,
const Color & end,
const float value )
static

Linearly interpolate between two colors.

Parameters
startThe result when the value is zero.
endThe result when the value is one.
valueA value between 0 and 1 that will indicate the resulting weight between start and end.
Returns
Returns the interpolated color value between start and end.

Definition at line 176 of file Color.cpp.

◆ operator!=()

bool KatanaEngine::Color::operator!= ( const Color & color) const

Determines if two colors are not equal.

Parameters
colorThe color to compare.
Returns
Returns true if the colors are not equal, false otherwise.

Definition at line 205 of file Color.cpp.

◆ operator*()

const Color KatanaEngine::Color::operator* ( const float scalar) const

Multiplies each component by a scale factor.

Parameters
scalarThe scale factor.
Returns
Returns the scaled color.

Definition at line 189 of file Color.cpp.

◆ operator==()

bool KatanaEngine::Color::operator== ( const Color & color) const

Determines if two colors are equal.

Parameters
colorThe color to compare.
Returns
Returns true if the colors are equal, false otherwise.

Definition at line 199 of file Color.cpp.

Member Data Documentation

◆ AliceBlue

const Color KatanaEngine::Color::AliceBlue = Color(0.94f, 0.97f, 1.0f)
static

AliceBlue.

Definition at line 60 of file Color.h.

◆ AntiqueWhite

const Color KatanaEngine::Color::AntiqueWhite = Color(0.98f, 0.92f, 0.84f)
static

AntiqueWhite.

Definition at line 61 of file Color.h.

◆ Aqua

const Color KatanaEngine::Color::Aqua = Color(0.0f, 1.0f, 1.0f)
static

Aqua.

Definition at line 62 of file Color.h.

◆ Aquamarine

const Color KatanaEngine::Color::Aquamarine = Color(0.5f, 1.0f, 0.83f)
static

Aquamarine.

Definition at line 63 of file Color.h.

◆ Azure

const Color KatanaEngine::Color::Azure = Color(0.94f, 1.0f, 1.0f)
static

Azure.

Definition at line 64 of file Color.h.

◆ Beige

const Color KatanaEngine::Color::Beige = Color(0.96f, 0.96f, 0.86f)
static

Beige.

Definition at line 65 of file Color.h.

◆ Bisque

const Color KatanaEngine::Color::Bisque = Color(1.0f, 0.89f, 0.77f)
static

Bisque.

Definition at line 66 of file Color.h.

◆ Black

const Color KatanaEngine::Color::Black = Color(0.0f, 0.0f, 0.0f)
static

Black.

Definition at line 67 of file Color.h.

◆ BlanchedAlmond

const Color KatanaEngine::Color::BlanchedAlmond = Color(1.0f, 0.92f, 0.8f)
static

BlanchedAlmond.

Definition at line 68 of file Color.h.

◆ Blue

const Color KatanaEngine::Color::Blue = Color(0.0f, 0.0f, 1.0f)
static

Blue.

Definition at line 69 of file Color.h.

◆ BlueViolet

const Color KatanaEngine::Color::BlueViolet = Color(0.54f, 0.17f, 0.89f)
static

BlueViolet.

Definition at line 70 of file Color.h.

◆ Brown

const Color KatanaEngine::Color::Brown = Color(0.65f, 0.16f, 0.16f)
static

Brown.

Definition at line 71 of file Color.h.

◆ Burlywood

const Color KatanaEngine::Color::Burlywood = Color(0.87f, 0.72f, 0.53f)
static

Burlywood.

Definition at line 72 of file Color.h.

◆ CadetBlue

const Color KatanaEngine::Color::CadetBlue = Color(0.37f, 0.62f, 0.63f)
static

CadetBlue.

Definition at line 73 of file Color.h.

◆ Chartreuse

const Color KatanaEngine::Color::Chartreuse = Color(0.5f, 1.0f, 0.0f)
static

Chartreuse.

Definition at line 74 of file Color.h.

◆ Chocolate

const Color KatanaEngine::Color::Chocolate = Color(0.82f, 0.41f, 0.12f)
static

Chocolate.

Definition at line 75 of file Color.h.

◆ Coral

const Color KatanaEngine::Color::Coral = Color(1.0f, 0.5f, 0.31f)
static

Coral.

Definition at line 76 of file Color.h.

◆ Cornflower

const Color KatanaEngine::Color::Cornflower = Color(0.39f, 0.58f, 0.93f)
static

Cornflower.

Definition at line 77 of file Color.h.

◆ Cornsilk

const Color KatanaEngine::Color::Cornsilk = Color(1.0f, 0.97f, 0.86f)
static

Cornsilk.

Definition at line 78 of file Color.h.

◆ Crimson

const Color KatanaEngine::Color::Crimson = Color(0.86f, 0.08f, 0.24f)
static

Crimson.

Definition at line 79 of file Color.h.

◆ Cyan

const Color KatanaEngine::Color::Cyan = Color(0.0f, 1.0f, 1.0f)
static

Cyan.

Definition at line 80 of file Color.h.

◆ DarkBlue

const Color KatanaEngine::Color::DarkBlue = Color(0.0f, 0.0f, 0.55f)
static

DarkBlue.

Definition at line 81 of file Color.h.

◆ DarkCyan

const Color KatanaEngine::Color::DarkCyan = Color(0.0f, 0.55f, 0.55f)
static

DarkCyan.

Definition at line 82 of file Color.h.

◆ DarkGoldenrod

const Color KatanaEngine::Color::DarkGoldenrod = Color(0.72f, 0.53f, 0.04f)
static

DarkGoldenrod.

Definition at line 83 of file Color.h.

◆ DarkGray

const Color KatanaEngine::Color::DarkGray = Color(0.66f, 0.66f, 0.66f)
static

DarkGray.

Definition at line 84 of file Color.h.

◆ DarkGreen

const Color KatanaEngine::Color::DarkGreen = Color(0.0f, 0.39f, 0.0f)
static

DarkGreen.

Definition at line 85 of file Color.h.

◆ DarkKhaki

const Color KatanaEngine::Color::DarkKhaki = Color(0.74f, 0.72f, 0.42f)
static

DarkKhaki.

Definition at line 86 of file Color.h.

◆ DarkMagenta

const Color KatanaEngine::Color::DarkMagenta = Color(0.55f, 0.0f, 0.55f)
static

DarkMagenta.

Definition at line 87 of file Color.h.

◆ DarkOliveGreen

const Color KatanaEngine::Color::DarkOliveGreen = Color(0.33f, 0.42f, 0.18f)
static

DarkOliveGreen.

Definition at line 88 of file Color.h.

◆ DarkOrange

const Color KatanaEngine::Color::DarkOrange = Color(1.0f, 0.55f, 0.0f)
static

DarkOrange.

Definition at line 89 of file Color.h.

◆ DarkOrchid

const Color KatanaEngine::Color::DarkOrchid = Color(0.6f, 0.2f, 0.8f)
static

DarkOrchid.

Definition at line 90 of file Color.h.

◆ DarkRed

const Color KatanaEngine::Color::DarkRed = Color(0.55f, 0.0f, 0.0f)
static

DarkRed.

Definition at line 91 of file Color.h.

◆ DarkSalmon

const Color KatanaEngine::Color::DarkSalmon = Color(0.91f, 0.59f, 0.48f)
static

DarkSalmon.

Definition at line 92 of file Color.h.

◆ DarkSeaGreen

const Color KatanaEngine::Color::DarkSeaGreen = Color(0.56f, 0.74f, 0.56f)
static

DarkSeaGreen.

Definition at line 93 of file Color.h.

◆ DarkSlateBlue

const Color KatanaEngine::Color::DarkSlateBlue = Color(0.28f, 0.24f, 0.55f)
static

DarkSlateBlue.

Definition at line 94 of file Color.h.

◆ DarkSlateGray

const Color KatanaEngine::Color::DarkSlateGray = Color(0.18f, 0.31f, 0.31f)
static

DarkSlateGray.

Definition at line 95 of file Color.h.

◆ DarkTurquoise

const Color KatanaEngine::Color::DarkTurquoise = Color(0.0f, 0.81f, 0.82f)
static

DarkTurquoise.

Definition at line 96 of file Color.h.

◆ DarkViolet

const Color KatanaEngine::Color::DarkViolet = Color(0.58f, 0.0f, 0.83f)
static

DarkViolet.

Definition at line 97 of file Color.h.

◆ DeepPink

const Color KatanaEngine::Color::DeepPink = Color(1.0f, 0.08f, 0.58f)
static

DeepPink.

Definition at line 98 of file Color.h.

◆ DeepSkyBlue

const Color KatanaEngine::Color::DeepSkyBlue = Color(0.0f, 0.75f, 1.0f)
static

DeepSkyBlue.

Definition at line 99 of file Color.h.

◆ DimGray

const Color KatanaEngine::Color::DimGray = Color(0.41f, 0.41f, 0.41f)
static

DimGray.

Definition at line 100 of file Color.h.

◆ DodgerBlue

const Color KatanaEngine::Color::DodgerBlue = Color(0.12f, 0.56f, 1.0f)
static

DodgerBlue.

Definition at line 101 of file Color.h.

◆ Firebrick

const Color KatanaEngine::Color::Firebrick = Color(0.7f, 0.13f, 0.13f)
static

Firebrick.

Definition at line 102 of file Color.h.

◆ FloralWhite

const Color KatanaEngine::Color::FloralWhite = Color(1.0f, 0.98f, 0.94f)
static

FloralWhite.

Definition at line 103 of file Color.h.

◆ ForestGreen

const Color KatanaEngine::Color::ForestGreen = Color(0.13f, 0.55f, 0.13f)
static

ForestGreen.

Definition at line 104 of file Color.h.

◆ Fuchsia

const Color KatanaEngine::Color::Fuchsia = Color(1.0f, 0.0f, 1.0f)
static

Fuchsia.

Definition at line 105 of file Color.h.

◆ Gainsboro

const Color KatanaEngine::Color::Gainsboro = Color(0.86f, 0.86f, 0.86f)
static

Gainsboro.

Definition at line 106 of file Color.h.

◆ GhostWhite

const Color KatanaEngine::Color::GhostWhite = Color(0.97f, 0.97f, 1.0f)
static

GhostWhite.

Definition at line 107 of file Color.h.

◆ Gold

const Color KatanaEngine::Color::Gold = Color(1.0f, 0.84f, 0.0f)
static

Gold.

Definition at line 108 of file Color.h.

◆ Goldenrod

const Color KatanaEngine::Color::Goldenrod = Color(0.85f, 0.65f, 0.13f)
static

Goldenrod.

Definition at line 109 of file Color.h.

◆ Gray

const Color KatanaEngine::Color::Gray = Color(0.75f, 0.75f, 0.75f)
static

Gray.

Definition at line 110 of file Color.h.

◆ Green

const Color KatanaEngine::Color::Green = Color(0.0f, 1.0f, 0.0f)
static

Green.

Definition at line 112 of file Color.h.

◆ GreenYellow

const Color KatanaEngine::Color::GreenYellow = Color(0.68f, 1.0f, 0.18f)
static

GreenYellow.

Definition at line 114 of file Color.h.

◆ Honeydew

const Color KatanaEngine::Color::Honeydew = Color(0.94f, 1.0f, 0.94f)
static

Honeydew.

Definition at line 115 of file Color.h.

◆ HotPink

const Color KatanaEngine::Color::HotPink = Color(1.0f, 0.41f, 0.71f)
static

HotPink.

Definition at line 116 of file Color.h.

◆ IndianRed

const Color KatanaEngine::Color::IndianRed = Color(0.8f, 0.36f, 0.36f)
static

IndianRed.

Definition at line 117 of file Color.h.

◆ Indigo

const Color KatanaEngine::Color::Indigo = Color(0.29f, 0.0f, 0.51f)
static

Indigo.

Definition at line 118 of file Color.h.

◆ Ivory

const Color KatanaEngine::Color::Ivory = Color(1.0f, 1.0f, 0.94f)
static

Ivory.

Definition at line 119 of file Color.h.

◆ Khaki

const Color KatanaEngine::Color::Khaki = Color(0.94f, 0.9f, 0.55f)
static

Khaki.

Definition at line 120 of file Color.h.

◆ Lavender

const Color KatanaEngine::Color::Lavender = Color(0.9f, 0.9f, 0.98f)
static

Lavender.

Definition at line 121 of file Color.h.

◆ LavenderBlush

const Color KatanaEngine::Color::LavenderBlush = Color(1.0f, 0.94f, 0.96f)
static

LavenderBlush.

Definition at line 122 of file Color.h.

◆ LawnGreen

const Color KatanaEngine::Color::LawnGreen = Color(0.49f, 0.99f, 0.0f)
static

LawnGreen.

Definition at line 123 of file Color.h.

◆ LemonChiffon

const Color KatanaEngine::Color::LemonChiffon = Color(1.0f, 0.98f, 0.8f)
static

LemonChiffon.

Definition at line 124 of file Color.h.

◆ LightBlue

const Color KatanaEngine::Color::LightBlue = Color(0.68f, 0.85f, 0.9f)
static

LightBlue.

Definition at line 125 of file Color.h.

◆ LightCoral

const Color KatanaEngine::Color::LightCoral = Color(0.94f, 0.5f, 0.5f)
static

LightCoral.

Definition at line 126 of file Color.h.

◆ LightCyan

const Color KatanaEngine::Color::LightCyan = Color(0.88f, 1.0f, 1.0f)
static

LightCyan.

Definition at line 127 of file Color.h.

◆ LightGoldenrod

const Color KatanaEngine::Color::LightGoldenrod = Color(0.98f, 0.98f, 0.82f)
static

LightGoldenrod.

Definition at line 128 of file Color.h.

◆ LightGray

const Color KatanaEngine::Color::LightGray = Color(0.83f, 0.83f, 0.83f)
static

LightGray.

Definition at line 129 of file Color.h.

◆ LightGreen

const Color KatanaEngine::Color::LightGreen = Color(0.56f, 0.93f, 0.56f)
static

LightGreen.

Definition at line 130 of file Color.h.

◆ LightPink

const Color KatanaEngine::Color::LightPink = Color(1.0f, 0.71f, 0.76f)
static

LightPink.

Definition at line 131 of file Color.h.

◆ LightSalmon

const Color KatanaEngine::Color::LightSalmon = Color(1.0f, 0.63f, 0.48f)
static

LightSalmon.

Definition at line 132 of file Color.h.

◆ LightSeaGreen

const Color KatanaEngine::Color::LightSeaGreen = Color(0.13f, 0.7f, 0.67f)
static

LightSeaGreen.

Definition at line 133 of file Color.h.

◆ LightSkyBlue

const Color KatanaEngine::Color::LightSkyBlue = Color(0.53f, 0.81f, 0.98f)
static

LightSkyBlue.

Definition at line 134 of file Color.h.

◆ LightSlateGray

const Color KatanaEngine::Color::LightSlateGray = Color(0.47f, 0.53f, 0.6f)
static

LightSlateGray.

Definition at line 135 of file Color.h.

◆ LightSteelBlue

const Color KatanaEngine::Color::LightSteelBlue = Color(0.69f, 0.77f, 0.87f)
static

LightSteelBlue.

Definition at line 136 of file Color.h.

◆ LightYellow

const Color KatanaEngine::Color::LightYellow = Color(1.0f, 1.0f, 0.88f)
static

LightYellow.

Definition at line 137 of file Color.h.

◆ Lime

const Color KatanaEngine::Color::Lime = Color(0.0f, 1.0f, 0.0f)
static

Lime.

Definition at line 138 of file Color.h.

◆ LimeGreen

const Color KatanaEngine::Color::LimeGreen = Color(0.2f, 0.8f, 0.2f)
static

LimeGreen.

Definition at line 139 of file Color.h.

◆ Linen

const Color KatanaEngine::Color::Linen = Color(0.98f, 0.94f, 0.9f)
static

Linen.

Definition at line 140 of file Color.h.

◆ Magenta

const Color KatanaEngine::Color::Magenta = Color(1.0f, 0.0f, 1.0f)
static

Magenta.

Definition at line 141 of file Color.h.

◆ Maroon

const Color KatanaEngine::Color::Maroon = Color(0.69f, 0.19f, 0.38f)
static

Maroon.

Definition at line 142 of file Color.h.

◆ MediumAquamarine

const Color KatanaEngine::Color::MediumAquamarine = Color(0.4f, 0.8f, 0.67f)
static

MediumAquamarine.

Definition at line 144 of file Color.h.

◆ MediumBlue

const Color KatanaEngine::Color::MediumBlue = Color(0.0f, 0.0f, 0.8f)
static

MediumBlue.

Definition at line 145 of file Color.h.

◆ MediumOrchid

const Color KatanaEngine::Color::MediumOrchid = Color(0.73f, 0.33f, 0.83f)
static

MediumOrchid.

Definition at line 146 of file Color.h.

◆ MediumPurple

const Color KatanaEngine::Color::MediumPurple = Color(0.58f, 0.44f, 0.86f)
static

MediumPurple.

Definition at line 147 of file Color.h.

◆ MediumSeaGreen

const Color KatanaEngine::Color::MediumSeaGreen = Color(0.24f, 0.7f, 0.44f)
static

MediumSeaGreen.

Definition at line 148 of file Color.h.

◆ MediumSlateBlue

const Color KatanaEngine::Color::MediumSlateBlue = Color(0.48f, 0.41f, 0.93f)
static

MediumSlateBlue.

Definition at line 149 of file Color.h.

◆ MediumSpringGreen

const Color KatanaEngine::Color::MediumSpringGreen = Color(0.0f, 0.98f, 0.6f)
static

MediumSpringGreen.

Definition at line 150 of file Color.h.

◆ MediumTurquoise

const Color KatanaEngine::Color::MediumTurquoise = Color(0.28f, 0.82f, 0.8f)
static

MediumTurquoise.

Definition at line 151 of file Color.h.

◆ MediumVioletRed

const Color KatanaEngine::Color::MediumVioletRed = Color(0.78f, 0.08f, 0.52f)
static

MediumVioletRed.

Definition at line 152 of file Color.h.

◆ MidnightBlue

const Color KatanaEngine::Color::MidnightBlue = Color(0.1f, 0.1f, 0.44f)
static

MidnightBlue.

Definition at line 153 of file Color.h.

◆ MintCream

const Color KatanaEngine::Color::MintCream = Color(0.96f, 1.0f, 0.98f)
static

MintCream.

Definition at line 154 of file Color.h.

◆ MistyRose

const Color KatanaEngine::Color::MistyRose = Color(1.0f, 0.89f, 0.88f)
static

MistyRose.

Definition at line 155 of file Color.h.

◆ Moccasin

const Color KatanaEngine::Color::Moccasin = Color(1.0f, 0.89f, 0.71f)
static

Moccasin.

Definition at line 156 of file Color.h.

◆ NavajoWhite

const Color KatanaEngine::Color::NavajoWhite = Color(1.0f, 0.87f, 0.68f)
static

NavajoWhite.

Definition at line 157 of file Color.h.

◆ NavyBlue

const Color KatanaEngine::Color::NavyBlue = Color(0.0f, 0.0f, 0.5f)
static

NavyBlue.

Definition at line 158 of file Color.h.

◆ OldLace

const Color KatanaEngine::Color::OldLace = Color(0.99f, 0.96f, 0.9f)
static

OldLace.

Definition at line 159 of file Color.h.

◆ Olive

const Color KatanaEngine::Color::Olive = Color(0.5f, 0.5f, 0.0f)
static

Olive.

Definition at line 160 of file Color.h.

◆ OliveDrab

const Color KatanaEngine::Color::OliveDrab = Color(0.42f, 0.56f, 0.14f)
static

OliveDrab.

Definition at line 161 of file Color.h.

◆ Orange

const Color KatanaEngine::Color::Orange = Color(1.0f, 0.65f, 0.0f)
static

Orange.

Definition at line 162 of file Color.h.

◆ OrangeRed

const Color KatanaEngine::Color::OrangeRed = Color(1.0f, 0.27f, 0.0f)
static

OrangeRed.

Definition at line 163 of file Color.h.

◆ Orchid

const Color KatanaEngine::Color::Orchid = Color(0.85f, 0.44f, 0.84f)
static

Orchid.

Definition at line 164 of file Color.h.

◆ PaleGoldenrod

const Color KatanaEngine::Color::PaleGoldenrod = Color(0.93f, 0.91f, 0.67f)
static

PaleGoldenrod.

Definition at line 165 of file Color.h.

◆ PaleGreen

const Color KatanaEngine::Color::PaleGreen = Color(0.6f, 0.98f, 0.6f)
static

PaleGreen.

Definition at line 166 of file Color.h.

◆ PaleTurquoise

const Color KatanaEngine::Color::PaleTurquoise = Color(0.69f, 0.93f, 0.93f)
static

PaleTurquoise.

Definition at line 167 of file Color.h.

◆ PaleVioletRed

const Color KatanaEngine::Color::PaleVioletRed = Color(0.86f, 0.44f, 0.58f)
static

PaleVioletRed.

Definition at line 168 of file Color.h.

◆ PapayaWhip

const Color KatanaEngine::Color::PapayaWhip = Color(1.0f, 0.94f, 0.84f)
static

PapayaWhip.

Definition at line 169 of file Color.h.

◆ PeachPuff

const Color KatanaEngine::Color::PeachPuff = Color(1.0f, 0.85f, 0.73f)
static

PeachPuff.

Definition at line 170 of file Color.h.

◆ Peru

const Color KatanaEngine::Color::Peru = Color(0.8f, 0.52f, 0.25f)
static

Peru.

Definition at line 171 of file Color.h.

◆ Pink

const Color KatanaEngine::Color::Pink = Color(1.0f, 0.75f, 0.8f)
static

Pink.

Definition at line 172 of file Color.h.

◆ Plum

const Color KatanaEngine::Color::Plum = Color(0.87f, 0.63f, 0.87f)
static

Plum.

Definition at line 173 of file Color.h.

◆ PowderBlue

const Color KatanaEngine::Color::PowderBlue = Color(0.69f, 0.88f, 0.9f)
static

PowderBlue.

Definition at line 174 of file Color.h.

◆ Purple

const Color KatanaEngine::Color::Purple = Color(0.63f, 0.13f, 0.94f)
static

Purple.

Definition at line 175 of file Color.h.

◆ RebeccaPurple

const Color KatanaEngine::Color::RebeccaPurple = Color(0.4f, 0.2f, 0.6f)
static

RebeccaPurple.

Definition at line 177 of file Color.h.

◆ Red

const Color KatanaEngine::Color::Red = Color(1.0f, 0.0f, 0.0f)
static

Red.

Definition at line 178 of file Color.h.

◆ RosyBrown

const Color KatanaEngine::Color::RosyBrown = Color(0.74f, 0.56f, 0.56f)
static

RosyBrown.

Definition at line 179 of file Color.h.

◆ RoyalBlue

const Color KatanaEngine::Color::RoyalBlue = Color(0.25f, 0.41f, 0.88f)
static

RoyalBlue.

Definition at line 180 of file Color.h.

◆ SaddleBrown

const Color KatanaEngine::Color::SaddleBrown = Color(0.55f, 0.27f, 0.07f)
static

SaddleBrown.

Definition at line 181 of file Color.h.

◆ Salmon

const Color KatanaEngine::Color::Salmon = Color(0.98f, 0.5f, 0.45f)
static

Salmon.

Definition at line 182 of file Color.h.

◆ SandyBrown

const Color KatanaEngine::Color::SandyBrown = Color(0.96f, 0.64f, 0.38f)
static

SandyBrown.

Definition at line 183 of file Color.h.

◆ SeaGreen

const Color KatanaEngine::Color::SeaGreen = Color(0.18f, 0.55f, 0.34f)
static

SeaGreen.

Definition at line 184 of file Color.h.

◆ Seashell

const Color KatanaEngine::Color::Seashell = Color(1.0f, 0.96f, 0.93f)
static

Seashell.

Definition at line 185 of file Color.h.

◆ Sienna

const Color KatanaEngine::Color::Sienna = Color(0.63f, 0.32f, 0.18f)
static

Sienna.

Definition at line 186 of file Color.h.

◆ Silver

const Color KatanaEngine::Color::Silver = Color(0.75f, 0.75f, 0.75f)
static

Silver.

Definition at line 187 of file Color.h.

◆ SkyBlue

const Color KatanaEngine::Color::SkyBlue = Color(0.53f, 0.81f, 0.92f)
static

SkyBlue.

Definition at line 188 of file Color.h.

◆ SlateBlue

const Color KatanaEngine::Color::SlateBlue = Color(0.42f, 0.35f, 0.8f)
static

SlateBlue.

Definition at line 189 of file Color.h.

◆ SlateGray

const Color KatanaEngine::Color::SlateGray = Color(0.44f, 0.5f, 0.56f)
static

SlateGray.

Definition at line 190 of file Color.h.

◆ Snow

const Color KatanaEngine::Color::Snow = Color(1.0f, 0.98f, 0.98f)
static

Snow.

Definition at line 191 of file Color.h.

◆ SpringGreen

const Color KatanaEngine::Color::SpringGreen = Color(0.0f, 1.0f, 0.5f)
static

SpringGreen.

Definition at line 192 of file Color.h.

◆ SteelBlue

const Color KatanaEngine::Color::SteelBlue = Color(0.27f, 0.51f, 0.71f)
static

SteelBlue.

Definition at line 193 of file Color.h.

◆ Tan

const Color KatanaEngine::Color::Tan = Color(0.82f, 0.71f, 0.55f)
static

Tan.

Definition at line 194 of file Color.h.

◆ Teal

const Color KatanaEngine::Color::Teal = Color(0.0f, 0.5f, 0.5f)
static

Teal.

Definition at line 195 of file Color.h.

◆ Thistle

const Color KatanaEngine::Color::Thistle = Color(0.85f, 0.75f, 0.85f)
static

Thistle.

Definition at line 196 of file Color.h.

◆ Tomato

const Color KatanaEngine::Color::Tomato = Color(1.0f, 0.39f, 0.28f)
static

Tomato.

Definition at line 197 of file Color.h.

◆ Turquoise

const Color KatanaEngine::Color::Turquoise = Color(0.25f, 0.88f, 0.82f)
static

Turquoise.

Definition at line 198 of file Color.h.

◆ Violet

const Color KatanaEngine::Color::Violet = Color(0.93f, 0.51f, 0.93f)
static

Violet.

Definition at line 199 of file Color.h.

◆ WebGray

const Color KatanaEngine::Color::WebGray = Color(0.5f, 0.5f, 0.5f)
static

WebGray.

Definition at line 111 of file Color.h.

◆ WebGreen

const Color KatanaEngine::Color::WebGreen = Color(0.0f, 0.5f, 0.0f)
static

WebGreen.

Definition at line 113 of file Color.h.

◆ WebMaroon

const Color KatanaEngine::Color::WebMaroon = Color(0.5f, 0.0f, 0.0f)
static

WebMaroon.

Definition at line 143 of file Color.h.

◆ WebPurple

const Color KatanaEngine::Color::WebPurple = Color(0.5f, 0.0f, 0.5f)
static

WebPurple.

Definition at line 176 of file Color.h.

◆ Wheat

const Color KatanaEngine::Color::Wheat = Color(0.96f, 0.87f, 0.7f)
static

Wheat.

Definition at line 200 of file Color.h.

◆ White

const Color KatanaEngine::Color::White = Color(1.0f, 1.0f, 1.0f)
static

White.

Definition at line 201 of file Color.h.

◆ WhiteSmoke

const Color KatanaEngine::Color::WhiteSmoke = Color(0.96f, 0.96f, 0.96f)
static

WhiteSmoke.

Definition at line 202 of file Color.h.

◆ Yellow

const Color KatanaEngine::Color::Yellow = Color(1.0f, 1.0f, 0.0f)
static

Yellow.

Definition at line 203 of file Color.h.

◆ YellowGreen

const Color KatanaEngine::Color::YellowGreen = Color(0.6f, 0.8f, 0.2f)
static

YellowGreen.

Definition at line 204 of file Color.h.


The documentation for this class was generated from the following files: