Flutter Engine
impeller::Color Struct Reference

#include <color.h>

Public Member Functions

constexpr Color ()
 
 Color (const ColorHSB &hsbColor)
 
constexpr Color (Scalar r, Scalar g, Scalar b, Scalar a)
 
constexpr bool operator== (const Color &c) const
 
constexpr Color Premultiply () const
 
constexpr Color Unpremultiply () const
 
constexpr Color WithAlpha (Scalar new_alpha) const
 
constexpr bool IsTransparent () const
 
constexpr bool IsOpaque () const
 

Static Public Member Functions

static constexpr Color White ()
 
static constexpr Color Black ()
 
static constexpr Color WhiteTransparent ()
 
static constexpr Color BlackTransparent ()
 
static constexpr Color Red ()
 
static constexpr Color Green ()
 
static constexpr Color Blue ()
 
static constexpr Color AliceBlue ()
 
static constexpr Color AntiqueWhite ()
 
static constexpr Color Aqua ()
 
static constexpr Color AquaMarine ()
 
static constexpr Color Azure ()
 
static constexpr Color Beige ()
 
static constexpr Color Bisque ()
 
static constexpr Color BlanchedAlmond ()
 
static constexpr Color BlueViolet ()
 
static constexpr Color Brown ()
 
static constexpr Color BurlyWood ()
 
static constexpr Color CadetBlue ()
 
static constexpr Color Chartreuse ()
 
static constexpr Color Chocolate ()
 
static constexpr Color Coral ()
 
static constexpr Color CornflowerBlue ()
 
static constexpr Color Cornsilk ()
 
static constexpr Color Crimson ()
 
static constexpr Color Cyan ()
 
static constexpr Color DarkBlue ()
 
static constexpr Color DarkCyan ()
 
static constexpr Color DarkGoldenrod ()
 
static constexpr Color DarkGray ()
 
static constexpr Color DarkGreen ()
 
static constexpr Color DarkGrey ()
 
static constexpr Color DarkKhaki ()
 
static constexpr Color DarkMagenta ()
 
static constexpr Color DarkOliveGreen ()
 
static constexpr Color DarkOrange ()
 
static constexpr Color DarkOrchid ()
 
static constexpr Color DarkRed ()
 
static constexpr Color DarkSalmon ()
 
static constexpr Color DarkSeagreen ()
 
static constexpr Color DarkSlateBlue ()
 
static constexpr Color DarkSlateGray ()
 
static constexpr Color DarkSlateGrey ()
 
static constexpr Color DarkTurquoise ()
 
static constexpr Color DarkViolet ()
 
static constexpr Color DeepPink ()
 
static constexpr Color DeepSkyBlue ()
 
static constexpr Color DimGray ()
 
static constexpr Color DimGrey ()
 
static constexpr Color DodgerBlue ()
 
static constexpr Color Firebrick ()
 
static constexpr Color FloralWhite ()
 
static constexpr Color ForestGreen ()
 
static constexpr Color Fuchsia ()
 
static constexpr Color Gainsboro ()
 
static constexpr Color Ghostwhite ()
 
static constexpr Color Gold ()
 
static constexpr Color Goldenrod ()
 
static constexpr Color Gray ()
 
static constexpr Color GreenYellow ()
 
static constexpr Color Grey ()
 
static constexpr Color Honeydew ()
 
static constexpr Color HotPink ()
 
static constexpr Color IndianRed ()
 
static constexpr Color Indigo ()
 
static constexpr Color Ivory ()
 
static constexpr Color Khaki ()
 
static constexpr Color Lavender ()
 
static constexpr Color LavenderBlush ()
 
static constexpr Color LawnGreen ()
 
static constexpr Color LemonChiffon ()
 
static constexpr Color LightBlue ()
 
static constexpr Color LightCoral ()
 
static constexpr Color LightCyan ()
 
static constexpr Color LightGoldenrodYellow ()
 
static constexpr Color LightGray ()
 
static constexpr Color LightGreen ()
 
static constexpr Color LightGrey ()
 
static constexpr Color LightPink ()
 
static constexpr Color LightSalmon ()
 
static constexpr Color LightSeaGreen ()
 
static constexpr Color LightSkyBlue ()
 
static constexpr Color LightSlateGray ()
 
static constexpr Color LightSlateGrey ()
 
static constexpr Color LightSteelBlue ()
 
static constexpr Color LightYellow ()
 
static constexpr Color Lime ()
 
static constexpr Color LimeGreen ()
 
static constexpr Color Linen ()
 
static constexpr Color Magenta ()
 
static constexpr Color Maroon ()
 
static constexpr Color MediumAquamarine ()
 
static constexpr Color MediumBlue ()
 
static constexpr Color MediumOrchid ()
 
static constexpr Color MediumPurple ()
 
static constexpr Color MediumSeagreen ()
 
static constexpr Color MediumSlateBlue ()
 
static constexpr Color MediumSpringGreen ()
 
static constexpr Color MediumTurquoise ()
 
static constexpr Color MediumVioletRed ()
 
static constexpr Color MidnightBlue ()
 
static constexpr Color MintCream ()
 
static constexpr Color MistyRose ()
 
static constexpr Color Moccasin ()
 
static constexpr Color NavajoWhite ()
 
static constexpr Color Navy ()
 
static constexpr Color OldLace ()
 
static constexpr Color Olive ()
 
static constexpr Color OliveDrab ()
 
static constexpr Color Orange ()
 
static constexpr Color OrangeRed ()
 
static constexpr Color Orchid ()
 
static constexpr Color PaleGoldenrod ()
 
static constexpr Color PaleGreen ()
 
static constexpr Color PaleTurquoise ()
 
static constexpr Color PaleVioletRed ()
 
static constexpr Color PapayaWhip ()
 
static constexpr Color Peachpuff ()
 
static constexpr Color Peru ()
 
static constexpr Color Pink ()
 
static constexpr Color Plum ()
 
static constexpr Color PowderBlue ()
 
static constexpr Color Purple ()
 
static constexpr Color RosyBrown ()
 
static constexpr Color RoyalBlue ()
 
static constexpr Color SaddleBrown ()
 
static constexpr Color Salmon ()
 
static constexpr Color SandyBrown ()
 
static constexpr Color Seagreen ()
 
static constexpr Color Seashell ()
 
static constexpr Color Sienna ()
 
static constexpr Color Silver ()
 
static constexpr Color SkyBlue ()
 
static constexpr Color SlateBlue ()
 
static constexpr Color SlateGray ()
 
static constexpr Color SlateGrey ()
 
static constexpr Color Snow ()
 
static constexpr Color SpringGreen ()
 
static constexpr Color SteelBlue ()
 
static constexpr Color Tan ()
 
static constexpr Color Teal ()
 
static constexpr Color Thistle ()
 
static constexpr Color Tomato ()
 
static constexpr Color Turquoise ()
 
static constexpr Color Violet ()
 
static constexpr Color Wheat ()
 
static constexpr Color Whitesmoke ()
 
static constexpr Color Yellow ()
 
static constexpr Color YellowGreen ()
 
static Color Random ()
 

Public Attributes

Scalar red = 0.0
 
Scalar green = 0.0
 
Scalar blue = 0.0
 
Scalar alpha = 0.0
 

Detailed Description

Represents a RGBA color

Definition at line 19 of file color.h.

Constructor & Destructor Documentation

◆ Color() [1/3]

constexpr impeller::Color::Color ( )
inline

Definition at line 40 of file color.h.

40 {}

◆ Color() [2/3]

impeller::Color::Color ( const ColorHSB hsbColor)

Definition at line 88 of file color.cc.

88 : Color(hsbColor.ToRGBA()) {}
constexpr Color()
Definition: color.h:40

◆ Color() [3/3]

constexpr impeller::Color::Color ( Scalar  r,
Scalar  g,
Scalar  b,
Scalar  a 
)
inline

Definition at line 44 of file color.h.

45  : red(r), green(g), blue(b), alpha(a) {}
Scalar red
Definition: color.h:23
Scalar blue
Definition: color.h:33
Scalar green
Definition: color.h:28
Scalar alpha
Definition: color.h:38

Member Function Documentation

◆ AliceBlue()

static constexpr Color impeller::Color::AliceBlue ( )
inlinestatic

Definition at line 81 of file color.h.

81  {
82  return {240.0 / 255.0, 248.0 / 255.0, 255.0 / 255.0, 1.0};
83  }

◆ AntiqueWhite()

static constexpr Color impeller::Color::AntiqueWhite ( )
inlinestatic

Definition at line 85 of file color.h.

85  {
86  return {250.0 / 255.0, 235.0 / 255.0, 215.0 / 255.0, 1.0};
87  }

◆ Aqua()

static constexpr Color impeller::Color::Aqua ( )
inlinestatic

Definition at line 89 of file color.h.

Referenced by impeller::testing::RenderTextInCanvas().

89  {
90  return {0.0 / 255.0, 255.0 / 255.0, 255.0 / 255.0, 1.0};
91  }

◆ AquaMarine()

static constexpr Color impeller::Color::AquaMarine ( )
inlinestatic

Definition at line 93 of file color.h.

93  {
94  return {127.0 / 255.0, 255.0 / 255.0, 212.0 / 255.0, 1.0};
95  }

◆ Azure()

static constexpr Color impeller::Color::Azure ( )
inlinestatic

Definition at line 97 of file color.h.

97  {
98  return {240.0 / 255.0, 255.0 / 255.0, 255.0 / 255.0, 1.0};
99  }

◆ Beige()

static constexpr Color impeller::Color::Beige ( )
inlinestatic

Definition at line 101 of file color.h.

101  {
102  return {245.0 / 255.0, 245.0 / 255.0, 220.0 / 255.0, 1.0};
103  }

◆ Bisque()

static constexpr Color impeller::Color::Bisque ( )
inlinestatic

Definition at line 105 of file color.h.

105  {
106  return {255.0 / 255.0, 228.0 / 255.0, 196.0 / 255.0, 1.0};
107  }

◆ Black()

static constexpr Color impeller::Color::Black ( )
inlinestatic

Definition at line 65 of file color.h.

Referenced by impeller::LinearGradientContents::SetColors(), and impeller::testing::TEST_P().

65 { return {0.0, 0.0, 0.0, 1.0}; }

◆ BlackTransparent()

static constexpr Color impeller::Color::BlackTransparent ( )
inlinestatic

Definition at line 69 of file color.h.

Referenced by impeller::RenderTarget::CreateOffscreen(), and Unpremultiply().

69 { return {0.0, 0.0, 0.0, 0.0}; }

◆ BlanchedAlmond()

static constexpr Color impeller::Color::BlanchedAlmond ( )
inlinestatic

Definition at line 109 of file color.h.

109  {
110  return {255.0 / 255.0, 235.0 / 255.0, 205.0 / 255.0, 1.0};
111  }

◆ Blue()

static constexpr Color impeller::Color::Blue ( )
inlinestatic

Definition at line 75 of file color.h.

Referenced by impeller::testing::TEST_P().

75 { return {0.0, 0.0, 1.0, 1.0}; }

◆ BlueViolet()

static constexpr Color impeller::Color::BlueViolet ( )
inlinestatic

Definition at line 113 of file color.h.

113  {
114  return {138.0 / 255.0, 43.0 / 255.0, 226.0 / 255.0, 1.0};
115  }

◆ Brown()

static constexpr Color impeller::Color::Brown ( )
inlinestatic

Definition at line 117 of file color.h.

117  {
118  return {165.0 / 255.0, 42.0 / 255.0, 42.0 / 255.0, 1.0};
119  }

◆ BurlyWood()

static constexpr Color impeller::Color::BurlyWood ( )
inlinestatic

Definition at line 121 of file color.h.

121  {
122  return {222.0 / 255.0, 184.0 / 255.0, 135.0 / 255.0, 1.0};
123  }

◆ CadetBlue()

static constexpr Color impeller::Color::CadetBlue ( )
inlinestatic

Definition at line 125 of file color.h.

125  {
126  return {95.0 / 255.0, 158.0 / 255.0, 160.0 / 255.0, 1.0};
127  }

◆ Chartreuse()

static constexpr Color impeller::Color::Chartreuse ( )
inlinestatic

Definition at line 129 of file color.h.

129  {
130  return {127.0 / 255.0, 255.0 / 255.0, 0.0 / 255.0, 1.0};
131  }

◆ Chocolate()

static constexpr Color impeller::Color::Chocolate ( )
inlinestatic

Definition at line 133 of file color.h.

133  {
134  return {210.0 / 255.0, 105.0 / 255.0, 30.0 / 255.0, 1.0};
135  }

◆ Coral()

static constexpr Color impeller::Color::Coral ( )
inlinestatic

Definition at line 137 of file color.h.

137  {
138  return {255.0 / 255.0, 127.0 / 255.0, 80.0 / 255.0, 1.0};
139  }

◆ CornflowerBlue()

static constexpr Color impeller::Color::CornflowerBlue ( )
inlinestatic

Definition at line 141 of file color.h.

Referenced by impeller::testing::TEST_P().

141  {
142  return {100.0 / 255.0, 149.0 / 255.0, 237.0 / 255.0, 1.0};
143  }

◆ Cornsilk()

static constexpr Color impeller::Color::Cornsilk ( )
inlinestatic

Definition at line 145 of file color.h.

145  {
146  return {255.0 / 255.0, 248.0 / 255.0, 220.0 / 255.0, 1.0};
147  }

◆ Crimson()

static constexpr Color impeller::Color::Crimson ( )
inlinestatic

Definition at line 149 of file color.h.

149  {
150  return {220.0 / 255.0, 20.0 / 255.0, 60.0 / 255.0, 1.0};
151  }

◆ Cyan()

static constexpr Color impeller::Color::Cyan ( )
inlinestatic

Definition at line 153 of file color.h.

153  {
154  return {0.0 / 255.0, 255.0 / 255.0, 255.0 / 255.0, 1.0};
155  }

◆ DarkBlue()

static constexpr Color impeller::Color::DarkBlue ( )
inlinestatic

Definition at line 157 of file color.h.

157  {
158  return {0.0 / 255.0, 0.0 / 255.0, 139.0 / 255.0, 1.0};
159  }

◆ DarkCyan()

static constexpr Color impeller::Color::DarkCyan ( )
inlinestatic

Definition at line 161 of file color.h.

161  {
162  return {0.0 / 255.0, 139.0 / 255.0, 139.0 / 255.0, 1.0};
163  }

◆ DarkGoldenrod()

static constexpr Color impeller::Color::DarkGoldenrod ( )
inlinestatic

Definition at line 165 of file color.h.

165  {
166  return {184.0 / 255.0, 134.0 / 255.0, 11.0 / 255.0, 1.0};
167  }

◆ DarkGray()

static constexpr Color impeller::Color::DarkGray ( )
inlinestatic

Definition at line 169 of file color.h.

169  {
170  return {169.0 / 255.0, 169.0 / 255.0, 169.0 / 255.0, 1.0};
171  }

◆ DarkGreen()

static constexpr Color impeller::Color::DarkGreen ( )
inlinestatic

Definition at line 173 of file color.h.

173  {
174  return {0.0 / 255.0, 100.0 / 255.0, 0.0 / 255.0, 1.0};
175  }

◆ DarkGrey()

static constexpr Color impeller::Color::DarkGrey ( )
inlinestatic

Definition at line 177 of file color.h.

177  {
178  return {169.0 / 255.0, 169.0 / 255.0, 169.0 / 255.0, 1.0};
179  }

◆ DarkKhaki()

static constexpr Color impeller::Color::DarkKhaki ( )
inlinestatic

Definition at line 181 of file color.h.

181  {
182  return {189.0 / 255.0, 183.0 / 255.0, 107.0 / 255.0, 1.0};
183  }

◆ DarkMagenta()

static constexpr Color impeller::Color::DarkMagenta ( )
inlinestatic

Definition at line 185 of file color.h.

185  {
186  return {139.0 / 255.0, 0.0 / 255.0, 139.0 / 255.0, 1.0};
187  }

◆ DarkOliveGreen()

static constexpr Color impeller::Color::DarkOliveGreen ( )
inlinestatic

Definition at line 189 of file color.h.

189  {
190  return {85.0 / 255.0, 107.0 / 255.0, 47.0 / 255.0, 1.0};
191  }

◆ DarkOrange()

static constexpr Color impeller::Color::DarkOrange ( )
inlinestatic

Definition at line 193 of file color.h.

193  {
194  return {255.0 / 255.0, 140.0 / 255.0, 0.0 / 255.0, 1.0};
195  }

◆ DarkOrchid()

static constexpr Color impeller::Color::DarkOrchid ( )
inlinestatic

Definition at line 197 of file color.h.

197  {
198  return {153.0 / 255.0, 50.0 / 255.0, 204.0 / 255.0, 1.0};
199  }

◆ DarkRed()

static constexpr Color impeller::Color::DarkRed ( )
inlinestatic

Definition at line 201 of file color.h.

201  {
202  return {139.0 / 255.0, 0.0 / 255.0, 0.0 / 255.0, 1.0};
203  }

◆ DarkSalmon()

static constexpr Color impeller::Color::DarkSalmon ( )
inlinestatic

Definition at line 205 of file color.h.

205  {
206  return {233.0 / 255.0, 150.0 / 255.0, 122.0 / 255.0, 1.0};
207  }

◆ DarkSeagreen()

static constexpr Color impeller::Color::DarkSeagreen ( )
inlinestatic

Definition at line 209 of file color.h.

209  {
210  return {143.0 / 255.0, 188.0 / 255.0, 143.0 / 255.0, 1.0};
211  }

◆ DarkSlateBlue()

static constexpr Color impeller::Color::DarkSlateBlue ( )
inlinestatic

Definition at line 213 of file color.h.

213  {
214  return {72.0 / 255.0, 61.0 / 255.0, 139.0 / 255.0, 1.0};
215  }

◆ DarkSlateGray()

static constexpr Color impeller::Color::DarkSlateGray ( )
inlinestatic

Definition at line 217 of file color.h.

Referenced by impeller::SurfaceMTL::WrapCurrentMetalLayerDrawable(), and impeller::SurfaceGLES::WrapFBO().

217  {
218  return {47.0 / 255.0, 79.0 / 255.0, 79.0 / 255.0, 1.0};
219  }

◆ DarkSlateGrey()

static constexpr Color impeller::Color::DarkSlateGrey ( )
inlinestatic

Definition at line 221 of file color.h.

221  {
222  return {47.0 / 255.0, 79.0 / 255.0, 79.0 / 255.0, 1.0};
223  }

◆ DarkTurquoise()

static constexpr Color impeller::Color::DarkTurquoise ( )
inlinestatic

Definition at line 225 of file color.h.

225  {
226  return {0.0 / 255.0, 206.0 / 255.0, 209.0 / 255.0, 1.0};
227  }

◆ DarkViolet()

static constexpr Color impeller::Color::DarkViolet ( )
inlinestatic

Definition at line 229 of file color.h.

229  {
230  return {148.0 / 255.0, 0.0 / 255.0, 211.0 / 255.0, 1.0};
231  }

◆ DeepPink()

static constexpr Color impeller::Color::DeepPink ( )
inlinestatic

Definition at line 233 of file color.h.

233  {
234  return {255.0 / 255.0, 20.0 / 255.0, 147.0 / 255.0, 1.0};
235  }

◆ DeepSkyBlue()

static constexpr Color impeller::Color::DeepSkyBlue ( )
inlinestatic

Definition at line 237 of file color.h.

237  {
238  return {0.0 / 255.0, 191.0 / 255.0, 255.0 / 255.0, 1.0};
239  }

◆ DimGray()

static constexpr Color impeller::Color::DimGray ( )
inlinestatic

Definition at line 241 of file color.h.

241  {
242  return {105.0 / 255.0, 105.0 / 255.0, 105.0 / 255.0, 1.0};
243  }

◆ DimGrey()

static constexpr Color impeller::Color::DimGrey ( )
inlinestatic

Definition at line 245 of file color.h.

245  {
246  return {105.0 / 255.0, 105.0 / 255.0, 105.0 / 255.0, 1.0};
247  }

◆ DodgerBlue()

static constexpr Color impeller::Color::DodgerBlue ( )
inlinestatic

Definition at line 249 of file color.h.

249  {
250  return {30.0 / 255.0, 144.0 / 255.0, 255.0 / 255.0, 1.0};
251  }

◆ Firebrick()

static constexpr Color impeller::Color::Firebrick ( )
inlinestatic

Definition at line 253 of file color.h.

253  {
254  return {178.0 / 255.0, 34.0 / 255.0, 34.0 / 255.0, 1.0};
255  }

◆ FloralWhite()

static constexpr Color impeller::Color::FloralWhite ( )
inlinestatic

Definition at line 257 of file color.h.

257  {
258  return {255.0 / 255.0, 250.0 / 255.0, 240.0 / 255.0, 1.0};
259  }

◆ ForestGreen()

static constexpr Color impeller::Color::ForestGreen ( )
inlinestatic

Definition at line 261 of file color.h.

261  {
262  return {34.0 / 255.0, 139.0 / 255.0, 34.0 / 255.0, 1.0};
263  }

◆ Fuchsia()

static constexpr Color impeller::Color::Fuchsia ( )
inlinestatic

Definition at line 265 of file color.h.

Referenced by impeller::testing::TEST_P().

265  {
266  return {255.0 / 255.0, 0.0 / 255.0, 255.0 / 255.0, 1.0};
267  }

◆ Gainsboro()

static constexpr Color impeller::Color::Gainsboro ( )
inlinestatic

Definition at line 269 of file color.h.

269  {
270  return {220.0 / 255.0, 220.0 / 255.0, 220.0 / 255.0, 1.0};
271  }

◆ Ghostwhite()

static constexpr Color impeller::Color::Ghostwhite ( )
inlinestatic

Definition at line 273 of file color.h.

273  {
274  return {248.0 / 255.0, 248.0 / 255.0, 255.0 / 255.0, 1.0};
275  }

◆ Gold()

static constexpr Color impeller::Color::Gold ( )
inlinestatic

Definition at line 277 of file color.h.

277  {
278  return {255.0 / 255.0, 215.0 / 255.0, 0.0 / 255.0, 1.0};
279  }

◆ Goldenrod()

static constexpr Color impeller::Color::Goldenrod ( )
inlinestatic

Definition at line 281 of file color.h.

281  {
282  return {218.0 / 255.0, 165.0 / 255.0, 32.0 / 255.0, 1.0};
283  }

◆ Gray()

static constexpr Color impeller::Color::Gray ( )
inlinestatic

Definition at line 285 of file color.h.

285  {
286  return {128.0 / 255.0, 128.0 / 255.0, 128.0 / 255.0, 1.0};
287  }

◆ Green()

static constexpr Color impeller::Color::Green ( )
inlinestatic

Definition at line 73 of file color.h.

Referenced by impeller::testing::TEST_P().

73 { return {0.0, 1.0, 0.0, 1.0}; }

◆ GreenYellow()

static constexpr Color impeller::Color::GreenYellow ( )
inlinestatic

Definition at line 289 of file color.h.

289  {
290  return {173.0 / 255.0, 255.0 / 255.0, 47.0 / 255.0, 1.0};
291  }

◆ Grey()

static constexpr Color impeller::Color::Grey ( )
inlinestatic

Definition at line 293 of file color.h.

293  {
294  return {128.0 / 255.0, 128.0 / 255.0, 128.0 / 255.0, 1.0};
295  }

◆ Honeydew()

static constexpr Color impeller::Color::Honeydew ( )
inlinestatic

Definition at line 297 of file color.h.

297  {
298  return {240.0 / 255.0, 255.0 / 255.0, 240.0 / 255.0, 1.0};
299  }

◆ HotPink()

static constexpr Color impeller::Color::HotPink ( )
inlinestatic

Definition at line 301 of file color.h.

301  {
302  return {255.0 / 255.0, 105.0 / 255.0, 180.0 / 255.0, 1.0};
303  }

◆ IndianRed()

static constexpr Color impeller::Color::IndianRed ( )
inlinestatic

Definition at line 305 of file color.h.

305  {
306  return {205.0 / 255.0, 92.0 / 255.0, 92.0 / 255.0, 1.0};
307  }

◆ Indigo()

static constexpr Color impeller::Color::Indigo ( )
inlinestatic

Definition at line 309 of file color.h.

309  {
310  return {75.0 / 255.0, 0.0 / 255.0, 130.0 / 255.0, 1.0};
311  }

◆ IsOpaque()

constexpr bool impeller::Color::IsOpaque ( ) const
inline

Definition at line 660 of file color.h.

Referenced by impeller::SolidStrokeContents::Render().

660 { return alpha == 1.0; }
Scalar alpha
Definition: color.h:38

◆ IsTransparent()

constexpr bool impeller::Color::IsTransparent ( ) const
inline

◆ Ivory()

static constexpr Color impeller::Color::Ivory ( )
inlinestatic

Definition at line 313 of file color.h.

313  {
314  return {255.0 / 255.0, 255.0 / 255.0, 240.0 / 255.0, 1.0};
315  }

◆ Khaki()

static constexpr Color impeller::Color::Khaki ( )
inlinestatic

Definition at line 317 of file color.h.

317  {
318  return {240.0 / 255.0, 230.0 / 255.0, 140.0 / 255.0, 1.0};
319  }

◆ Lavender()

static constexpr Color impeller::Color::Lavender ( )
inlinestatic

Definition at line 321 of file color.h.

321  {
322  return {230.0 / 255.0, 230.0 / 255.0, 250.0 / 255.0, 1.0};
323  }

◆ LavenderBlush()

static constexpr Color impeller::Color::LavenderBlush ( )
inlinestatic

Definition at line 325 of file color.h.

325  {
326  return {255.0 / 255.0, 240.0 / 255.0, 245.0 / 255.0, 1.0};
327  }

◆ LawnGreen()

static constexpr Color impeller::Color::LawnGreen ( )
inlinestatic

Definition at line 329 of file color.h.

329  {
330  return {124.0 / 255.0, 252.0 / 255.0, 0.0 / 255.0, 1.0};
331  }

◆ LemonChiffon()

static constexpr Color impeller::Color::LemonChiffon ( )
inlinestatic

Definition at line 333 of file color.h.

333  {
334  return {255.0 / 255.0, 250.0 / 255.0, 205.0 / 255.0, 1.0};
335  }

◆ LightBlue()

static constexpr Color impeller::Color::LightBlue ( )
inlinestatic

Definition at line 337 of file color.h.

337  {
338  return {173.0 / 255.0, 216.0 / 255.0, 230.0 / 255.0, 1.0};
339  }

◆ LightCoral()

static constexpr Color impeller::Color::LightCoral ( )
inlinestatic

Definition at line 341 of file color.h.

341  {
342  return {240.0 / 255.0, 128.0 / 255.0, 128.0 / 255.0, 1.0};
343  }

◆ LightCyan()

static constexpr Color impeller::Color::LightCyan ( )
inlinestatic

Definition at line 345 of file color.h.

345  {
346  return {224.0 / 255.0, 255.0 / 255.0, 255.0 / 255.0, 1.0};
347  }

◆ LightGoldenrodYellow()

static constexpr Color impeller::Color::LightGoldenrodYellow ( )
inlinestatic

Definition at line 349 of file color.h.

349  {
350  return {50.0 / 255.0, 250.0 / 255.0, 210.0 / 255.0, 1.0};
351  }

◆ LightGray()

static constexpr Color impeller::Color::LightGray ( )
inlinestatic

Definition at line 353 of file color.h.

353  {
354  return {211.0 / 255.0, 211.0 / 255.0, 211.0 / 255.0, 1.0};
355  }

◆ LightGreen()

static constexpr Color impeller::Color::LightGreen ( )
inlinestatic

Definition at line 357 of file color.h.

357  {
358  return {144.0 / 255.0, 238.0 / 255.0, 144.0 / 255.0, 1.0};
359  }

◆ LightGrey()

static constexpr Color impeller::Color::LightGrey ( )
inlinestatic

Definition at line 361 of file color.h.

361  {
362  return {211.0 / 255.0, 211.0 / 255.0, 211.0 / 255.0, 1.0};
363  }

◆ LightPink()

static constexpr Color impeller::Color::LightPink ( )
inlinestatic

Definition at line 365 of file color.h.

365  {
366  return {255.0 / 255.0, 182.0 / 255.0, 193.0 / 255.0, 1.0};
367  }

◆ LightSalmon()

static constexpr Color impeller::Color::LightSalmon ( )
inlinestatic

Definition at line 369 of file color.h.

369  {
370  return {255.0 / 255.0, 160.0 / 255.0, 122.0 / 255.0, 1.0};
371  }

◆ LightSeaGreen()

static constexpr Color impeller::Color::LightSeaGreen ( )
inlinestatic

Definition at line 373 of file color.h.

373  {
374  return {32.0 / 255.0, 178.0 / 255.0, 170.0 / 255.0, 1.0};
375  }

◆ LightSkyBlue()

static constexpr Color impeller::Color::LightSkyBlue ( )
inlinestatic

Definition at line 377 of file color.h.

377  {
378  return {135.0 / 255.0, 206.0 / 255.0, 250.0 / 255.0, 1.0};
379  }

◆ LightSlateGray()

static constexpr Color impeller::Color::LightSlateGray ( )
inlinestatic

Definition at line 381 of file color.h.

381  {
382  return {119.0 / 255.0, 136.0 / 255.0, 153.0 / 255.0, 1.0};
383  }

◆ LightSlateGrey()

static constexpr Color impeller::Color::LightSlateGrey ( )
inlinestatic

Definition at line 385 of file color.h.

385  {
386  return {119.0 / 255.0, 136.0 / 255.0, 153.0 / 255.0, 1.0};
387  }

◆ LightSteelBlue()

static constexpr Color impeller::Color::LightSteelBlue ( )
inlinestatic

Definition at line 389 of file color.h.

389  {
390  return {176.0 / 255.0, 196.0 / 255.0, 222.0 / 255.0, 1.0};
391  }

◆ LightYellow()

static constexpr Color impeller::Color::LightYellow ( )
inlinestatic

Definition at line 393 of file color.h.

393  {
394  return {255.0 / 255.0, 255.0 / 255.0, 224.0 / 255.0, 1.0};
395  }

◆ Lime()

static constexpr Color impeller::Color::Lime ( )
inlinestatic

Definition at line 397 of file color.h.

397  {
398  return {0.0 / 255.0, 255.0 / 255.0, 0.0 / 255.0, 1.0};
399  }

◆ LimeGreen()

static constexpr Color impeller::Color::LimeGreen ( )
inlinestatic

Definition at line 401 of file color.h.

401  {
402  return {50.0 / 255.0, 205.0 / 255.0, 50.0 / 255.0, 1.0};
403  }

◆ Linen()

static constexpr Color impeller::Color::Linen ( )
inlinestatic

Definition at line 405 of file color.h.

405  {
406  return {250.0 / 255.0, 240.0 / 255.0, 230.0 / 255.0, 1.0};
407  }

◆ Magenta()

static constexpr Color impeller::Color::Magenta ( )
inlinestatic

Definition at line 409 of file color.h.

409  {
410  return {255.0 / 255.0, 0.0 / 255.0, 255.0 / 255.0, 1.0};
411  }

◆ Maroon()

static constexpr Color impeller::Color::Maroon ( )
inlinestatic

Definition at line 413 of file color.h.

Referenced by impeller::testing::TEST_P().

413  {
414  return {128.0 / 255.0, 0.0 / 255.0, 0.0 / 255.0, 1.0};
415  }

◆ MediumAquamarine()

static constexpr Color impeller::Color::MediumAquamarine ( )
inlinestatic

Definition at line 417 of file color.h.

417  {
418  return {102.0 / 255.0, 205.0 / 255.0, 170.0 / 255.0, 1.0};
419  }

◆ MediumBlue()

static constexpr Color impeller::Color::MediumBlue ( )
inlinestatic

Definition at line 421 of file color.h.

421  {
422  return {0.0 / 255.0, 0.0 / 255.0, 205.0 / 255.0, 1.0};
423  }

◆ MediumOrchid()

static constexpr Color impeller::Color::MediumOrchid ( )
inlinestatic

Definition at line 425 of file color.h.

425  {
426  return {186.0 / 255.0, 85.0 / 255.0, 211.0 / 255.0, 1.0};
427  }

◆ MediumPurple()

static constexpr Color impeller::Color::MediumPurple ( )
inlinestatic

Definition at line 429 of file color.h.

429  {
430  return {147.0 / 255.0, 112.0 / 255.0, 219.0 / 255.0, 1.0};
431  }

◆ MediumSeagreen()

static constexpr Color impeller::Color::MediumSeagreen ( )
inlinestatic

Definition at line 433 of file color.h.

433  {
434  return {60.0 / 255.0, 179.0 / 255.0, 113.0 / 255.0, 1.0};
435  }

◆ MediumSlateBlue()

static constexpr Color impeller::Color::MediumSlateBlue ( )
inlinestatic

Definition at line 437 of file color.h.

437  {
438  return {123.0 / 255.0, 104.0 / 255.0, 238.0 / 255.0, 1.0};
439  }

◆ MediumSpringGreen()

static constexpr Color impeller::Color::MediumSpringGreen ( )
inlinestatic

Definition at line 441 of file color.h.

441  {
442  return {0.0 / 255.0, 250.0 / 255.0, 154.0 / 255.0, 1.0};
443  }

◆ MediumTurquoise()

static constexpr Color impeller::Color::MediumTurquoise ( )
inlinestatic

Definition at line 445 of file color.h.

Referenced by impeller::testing::TEST_P().

445  {
446  return {72.0 / 255.0, 209.0 / 255.0, 204.0 / 255.0, 1.0};
447  }

◆ MediumVioletRed()

static constexpr Color impeller::Color::MediumVioletRed ( )
inlinestatic

Definition at line 449 of file color.h.

449  {
450  return {199.0 / 255.0, 21.0 / 255.0, 133.0 / 255.0, 1.0};
451  }

◆ MidnightBlue()

static constexpr Color impeller::Color::MidnightBlue ( )
inlinestatic

Definition at line 453 of file color.h.

453  {
454  return {25.0 / 255.0, 25.0 / 255.0, 112.0 / 255.0, 1.0};
455  }

◆ MintCream()

static constexpr Color impeller::Color::MintCream ( )
inlinestatic

Definition at line 457 of file color.h.

457  {
458  return {245.0 / 255.0, 255.0 / 255.0, 250.0 / 255.0, 1.0};
459  }

◆ MistyRose()

static constexpr Color impeller::Color::MistyRose ( )
inlinestatic

Definition at line 461 of file color.h.

461  {
462  return {255.0 / 255.0, 228.0 / 255.0, 225.0 / 255.0, 1.0};
463  }

◆ Moccasin()

static constexpr Color impeller::Color::Moccasin ( )
inlinestatic

Definition at line 465 of file color.h.

465  {
466  return {255.0 / 255.0, 228.0 / 255.0, 181.0 / 255.0, 1.0};
467  }

◆ NavajoWhite()

static constexpr Color impeller::Color::NavajoWhite ( )
inlinestatic

Definition at line 469 of file color.h.

469  {
470  return {255.0 / 255.0, 222.0 / 255.0, 173.0 / 255.0, 1.0};
471  }

◆ Navy()

static constexpr Color impeller::Color::Navy ( )
inlinestatic

Definition at line 473 of file color.h.

473  {
474  return {0.0 / 255.0, 0.0 / 255.0, 128.0 / 255.0, 1.0};
475  }

◆ OldLace()

static constexpr Color impeller::Color::OldLace ( )
inlinestatic

Definition at line 477 of file color.h.

477  {
478  return {253.0 / 255.0, 245.0 / 255.0, 230.0 / 255.0, 1.0};
479  }

◆ Olive()

static constexpr Color impeller::Color::Olive ( )
inlinestatic

Definition at line 481 of file color.h.

481  {
482  return {128.0 / 255.0, 128.0 / 255.0, 0.0 / 255.0, 1.0};
483  }

◆ OliveDrab()

static constexpr Color impeller::Color::OliveDrab ( )
inlinestatic

Definition at line 485 of file color.h.

485  {
486  return {107.0 / 255.0, 142.0 / 255.0, 35.0 / 255.0, 1.0};
487  }

◆ operator==()

constexpr bool impeller::Color::operator== ( const Color c) const
inline

Definition at line 47 of file color.h.

References alpha, blue, green, and red.

47  {
48  return red == c.red && green == c.green && blue == c.blue &&
49  alpha == c.alpha;
50  }
Scalar red
Definition: color.h:23
Scalar blue
Definition: color.h:33
Scalar green
Definition: color.h:28
Scalar alpha
Definition: color.h:38

◆ Orange()

static constexpr Color impeller::Color::Orange ( )
inlinestatic

Definition at line 489 of file color.h.

489  {
490  return {255.0 / 255.0, 165.0 / 255.0, 0.0 / 255.0, 1.0};
491  }

◆ OrangeRed()

static constexpr Color impeller::Color::OrangeRed ( )
inlinestatic

Definition at line 493 of file color.h.

493  {
494  return {255.0 / 255.0, 69.0 / 255.0, 0.0 / 255.0, 1.0};
495  }

◆ Orchid()

static constexpr Color impeller::Color::Orchid ( )
inlinestatic

Definition at line 497 of file color.h.

497  {
498  return {218.0 / 255.0, 112.0 / 255.0, 214.0 / 255.0, 1.0};
499  }

◆ PaleGoldenrod()

static constexpr Color impeller::Color::PaleGoldenrod ( )
inlinestatic

Definition at line 501 of file color.h.

501  {
502  return {238.0 / 255.0, 232.0 / 255.0, 170.0 / 255.0, 1.0};
503  }

◆ PaleGreen()

static constexpr Color impeller::Color::PaleGreen ( )
inlinestatic

Definition at line 505 of file color.h.

505  {
506  return {152.0 / 255.0, 251.0 / 255.0, 152.0 / 255.0, 1.0};
507  }

◆ PaleTurquoise()

static constexpr Color impeller::Color::PaleTurquoise ( )
inlinestatic

Definition at line 509 of file color.h.

509  {
510  return {175.0 / 255.0, 238.0 / 255.0, 238.0 / 255.0, 1.0};
511  }

◆ PaleVioletRed()

static constexpr Color impeller::Color::PaleVioletRed ( )
inlinestatic

Definition at line 513 of file color.h.

513  {
514  return {219.0 / 255.0, 112.0 / 255.0, 147.0 / 255.0, 1.0};
515  }

◆ PapayaWhip()

static constexpr Color impeller::Color::PapayaWhip ( )
inlinestatic

Definition at line 517 of file color.h.

517  {
518  return {255.0 / 255.0, 239.0 / 255.0, 213.0 / 255.0, 1.0};
519  }

◆ Peachpuff()

static constexpr Color impeller::Color::Peachpuff ( )
inlinestatic

Definition at line 521 of file color.h.

521  {
522  return {255.0 / 255.0, 218.0 / 255.0, 185.0 / 255.0, 1.0};
523  }

◆ Peru()

static constexpr Color impeller::Color::Peru ( )
inlinestatic

Definition at line 525 of file color.h.

525  {
526  return {205.0 / 255.0, 133.0 / 255.0, 63.0 / 255.0, 1.0};
527  }

◆ Pink()

static constexpr Color impeller::Color::Pink ( )
inlinestatic

Definition at line 529 of file color.h.

529  {
530  return {255.0 / 255.0, 192.0 / 255.0, 203.0 / 255.0, 1.0};
531  }

◆ Plum()

static constexpr Color impeller::Color::Plum ( )
inlinestatic

Definition at line 533 of file color.h.

533  {
534  return {221.0 / 255.0, 160.0 / 255.0, 221.0 / 255.0, 1.0};
535  }

◆ PowderBlue()

static constexpr Color impeller::Color::PowderBlue ( )
inlinestatic

Definition at line 537 of file color.h.

537  {
538  return {176.0 / 255.0, 224.0 / 255.0, 230.0 / 255.0, 1.0};
539  }

◆ Premultiply()

constexpr Color impeller::Color::Premultiply ( ) const
inline

◆ Purple()

static constexpr Color impeller::Color::Purple ( )
inlinestatic

Definition at line 541 of file color.h.

541  {
542  return {128.0 / 255.0, 0.0 / 255.0, 128.0 / 255.0, 1.0};
543  }

◆ Random()

static Color impeller::Color::Random ( )
inlinestatic

Definition at line 649 of file color.h.

Referenced by impeller::testing::TEST_P().

649  {
650  return {
651  static_cast<Scalar>((std::rand() % 255) / 255.0), //
652  static_cast<Scalar>((std::rand() % 255) / 255.0), //
653  static_cast<Scalar>((std::rand() % 255) / 255.0), //
654  1.0 //
655  };
656  }
float Scalar
Definition: scalar.h:15

◆ Red()

static constexpr Color impeller::Color::Red ( )
inlinestatic

Definition at line 71 of file color.h.

Referenced by impeller::testing::CreatePassWithRectPath(), impeller::testing::RenderTextInCanvas(), and impeller::testing::TEST_P().

71 { return {1.0, 0.0, 0.0, 1.0}; }

◆ RosyBrown()

static constexpr Color impeller::Color::RosyBrown ( )
inlinestatic

Definition at line 545 of file color.h.

545  {
546  return {188.0 / 255.0, 143.0 / 255.0, 143.0 / 255.0, 1.0};
547  }

◆ RoyalBlue()

static constexpr Color impeller::Color::RoyalBlue ( )
inlinestatic

Definition at line 549 of file color.h.

549  {
550  return {65.0 / 255.0, 105.0 / 255.0, 225.0 / 255.0, 1.0};
551  }

◆ SaddleBrown()

static constexpr Color impeller::Color::SaddleBrown ( )
inlinestatic

Definition at line 553 of file color.h.

553  {
554  return {139.0 / 255.0, 69.0 / 255.0, 19.0 / 255.0, 1.0};
555  }

◆ Salmon()

static constexpr Color impeller::Color::Salmon ( )
inlinestatic

Definition at line 557 of file color.h.

557  {
558  return {250.0 / 255.0, 128.0 / 255.0, 114.0 / 255.0, 1.0};
559  }

◆ SandyBrown()

static constexpr Color impeller::Color::SandyBrown ( )
inlinestatic

Definition at line 561 of file color.h.

561  {
562  return {244.0 / 255.0, 164.0 / 255.0, 96.0 / 255.0, 1.0};
563  }

◆ Seagreen()

static constexpr Color impeller::Color::Seagreen ( )
inlinestatic

Definition at line 565 of file color.h.

565  {
566  return {46.0 / 255.0, 139.0 / 255.0, 87.0 / 255.0, 1.0};
567  }

◆ Seashell()

static constexpr Color impeller::Color::Seashell ( )
inlinestatic

Definition at line 569 of file color.h.

569  {
570  return {255.0 / 255.0, 245.0 / 255.0, 238.0 / 255.0, 1.0};
571  }

◆ Sienna()

static constexpr Color impeller::Color::Sienna ( )
inlinestatic

Definition at line 573 of file color.h.

573  {
574  return {160.0 / 255.0, 82.0 / 255.0, 45.0 / 255.0, 1.0};
575  }

◆ Silver()

static constexpr Color impeller::Color::Silver ( )
inlinestatic

Definition at line 577 of file color.h.

577  {
578  return {192.0 / 255.0, 192.0 / 255.0, 192.0 / 255.0, 1.0};
579  }

◆ SkyBlue()

static constexpr Color impeller::Color::SkyBlue ( )
inlinestatic

Definition at line 581 of file color.h.

Referenced by impeller::ClipContents::Render(), impeller::ClipRestoreContents::Render(), and impeller::testing::TEST_P().

581  {
582  return {135.0 / 255.0, 206.0 / 255.0, 235.0 / 255.0, 1.0};
583  }

◆ SlateBlue()

static constexpr Color impeller::Color::SlateBlue ( )
inlinestatic

Definition at line 585 of file color.h.

585  {
586  return {106.0 / 255.0, 90.0 / 255.0, 205.0 / 255.0, 1.0};
587  }

◆ SlateGray()

static constexpr Color impeller::Color::SlateGray ( )
inlinestatic

Definition at line 589 of file color.h.

589  {
590  return {112.0 / 255.0, 128.0 / 255.0, 144.0 / 255.0, 1.0};
591  }

◆ SlateGrey()

static constexpr Color impeller::Color::SlateGrey ( )
inlinestatic

Definition at line 593 of file color.h.

593  {
594  return {112.0 / 255.0, 128.0 / 255.0, 144.0 / 255.0, 1.0};
595  }

◆ Snow()

static constexpr Color impeller::Color::Snow ( )
inlinestatic

Definition at line 597 of file color.h.

597  {
598  return {255.0 / 255.0, 250.0 / 255.0, 250.0 / 255.0, 1.0};
599  }

◆ SpringGreen()

static constexpr Color impeller::Color::SpringGreen ( )
inlinestatic

Definition at line 601 of file color.h.

601  {
602  return {0.0 / 255.0, 255.0 / 255.0, 127.0 / 255.0, 1.0};
603  }

◆ SteelBlue()

static constexpr Color impeller::Color::SteelBlue ( )
inlinestatic

Definition at line 605 of file color.h.

605  {
606  return {70.0 / 255.0, 130.0 / 255.0, 180.0 / 255.0, 1.0};
607  }

◆ Tan()

static constexpr Color impeller::Color::Tan ( )
inlinestatic

Definition at line 609 of file color.h.

609  {
610  return {210.0 / 255.0, 180.0 / 255.0, 140.0 / 255.0, 1.0};
611  }

◆ Teal()

static constexpr Color impeller::Color::Teal ( )
inlinestatic

Definition at line 613 of file color.h.

613  {
614  return {0.0 / 255.0, 128.0 / 255.0, 128.0 / 255.0, 1.0};
615  }

◆ Thistle()

static constexpr Color impeller::Color::Thistle ( )
inlinestatic

Definition at line 617 of file color.h.

617  {
618  return {216.0 / 255.0, 191.0 / 255.0, 216.0 / 255.0, 1.0};
619  }

◆ Tomato()

static constexpr Color impeller::Color::Tomato ( )
inlinestatic

Definition at line 621 of file color.h.

621  {
622  return {255.0 / 255.0, 99.0 / 255.0, 71.0 / 255.0, 1.0};
623  }

◆ Turquoise()

static constexpr Color impeller::Color::Turquoise ( )
inlinestatic

Definition at line 625 of file color.h.

625  {
626  return {64.0 / 255.0, 224.0 / 255.0, 208.0 / 255.0, 1.0};
627  }

◆ Unpremultiply()

constexpr Color impeller::Color::Unpremultiply ( ) const
inline

Definition at line 56 of file color.h.

References alpha, BlackTransparent(), and impeller::ScalarNearlyEqual().

Referenced by impeller::testing::TEST().

56  {
57  if (ScalarNearlyEqual(alpha, 0.0)) {
58  return Color::BlackTransparent();
59  }
60  return {red / alpha, green / alpha, blue / alpha, alpha};
61  }
static constexpr Color BlackTransparent()
Definition: color.h:69
Scalar red
Definition: color.h:23
Scalar blue
Definition: color.h:33
constexpr bool ScalarNearlyEqual(Scalar x, Scalar y, Scalar tolerance=kEhCloseEnough)
Definition: scalar.h:22
Scalar green
Definition: color.h:28
Scalar alpha
Definition: color.h:38

◆ Violet()

static constexpr Color impeller::Color::Violet ( )
inlinestatic

Definition at line 629 of file color.h.

629  {
630  return {238.0 / 255.0, 130.0 / 255.0, 238.0 / 255.0, 1.0};
631  }

◆ Wheat()

static constexpr Color impeller::Color::Wheat ( )
inlinestatic

Definition at line 633 of file color.h.

633  {
634  return {245.0 / 255.0, 222.0 / 255.0, 179.0 / 255.0, 1.0};
635  }

◆ White()

static constexpr Color impeller::Color::White ( )
inlinestatic

Definition at line 63 of file color.h.

Referenced by impeller::testing::TEST(), and impeller::testing::TEST_P().

63 { return {1.0, 1.0, 1.0, 1.0}; }

◆ Whitesmoke()

static constexpr Color impeller::Color::Whitesmoke ( )
inlinestatic

Definition at line 637 of file color.h.

637  {
638  return {245.0 / 255.0, 245.0 / 255.0, 245.0 / 255.0, 1.0};
639  }

◆ WhiteTransparent()

static constexpr Color impeller::Color::WhiteTransparent ( )
inlinestatic

Definition at line 67 of file color.h.

Referenced by impeller::testing::TEST_P().

67 { return {1.0, 1.0, 1.0, 0.0}; }

◆ WithAlpha()

constexpr Color impeller::Color::WithAlpha ( Scalar  new_alpha) const
inline

Definition at line 77 of file color.h.

References blue, green, and red.

Referenced by impeller::testing::RenderTextInCanvas(), and impeller::testing::TEST_P().

77  {
78  return {red, green, blue, new_alpha};
79  }
Scalar red
Definition: color.h:23
Scalar blue
Definition: color.h:33
Scalar green
Definition: color.h:28

◆ Yellow()

static constexpr Color impeller::Color::Yellow ( )
inlinestatic

Definition at line 641 of file color.h.

Referenced by impeller::testing::RenderTextInCanvas(), and impeller::testing::TEST_P().

641  {
642  return {255.0 / 255.0, 255.0 / 255.0, 0.0 / 255.0, 1.0};
643  }

◆ YellowGreen()

static constexpr Color impeller::Color::YellowGreen ( )
inlinestatic

Definition at line 645 of file color.h.

645  {
646  return {154.0 / 255.0, 205.0 / 255.0, 50.0 / 255.0, 1.0};
647  }

Member Data Documentation

◆ alpha

◆ blue

Scalar impeller::Color::blue = 0.0

◆ green

Scalar impeller::Color::green = 0.0

◆ red

Scalar impeller::Color::red = 0.0

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