| Flutter Impeller |

Static Public Attributes | List of all members
impeller::testing::ColorBlendTestData Struct Reference

## Static Public Attributes
static constexpr Color | kDestinationColor
static constexpr Color | kSourceColors []
static const std::map< BlendMode, Color > | kExpectedResults [sizeof(kSourceColors)]

## Detailed Description

Definition at line 1503 of file geometry_unittests.cc.

## Member Data Documentation

## ◆ kDestinationColor

constexpr Color impeller::testing::ColorBlendTestData::kDestinationColor
| static constexpr

Initial value:
=
Color::CornflowerBlue().WithAlpha(0.75)

Definition at line 1504 of file geometry_unittests.cc.

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

## ◆ kExpectedResults

const std::map< BlendMode, Color > impeller::testing::ColorBlendTestData::kExpectedResults
| static

Definition at line 1511 of file geometry_unittests.cc.

## ◆ kSourceColors

constexpr Color impeller::testing::ColorBlendTestData::kSourceColors[]
| static constexpr

Initial value:
= {Color::White().WithAlpha(0.75),
Color::LimeGreen().WithAlpha(0.75),
Color::Black().WithAlpha(0.75)}

Definition at line 1506 of file geometry_unittests.cc.

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

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

- impeller/geometry/geometry_unittests.cc

impeller::Color::CornflowerBlue
static constexpr Color CornflowerBlue()
Definition: color.h:341
impeller::Color::WithAlpha
constexpr Color WithAlpha(Scalar new_alpha) const
Definition: color.h:277
impeller::Color::White
static constexpr Color White()
Definition: color.h:263
impeller::Color::Black
static constexpr Color Black()
Definition: color.h:265
impeller::Color::LimeGreen
static constexpr Color LimeGreen()
Definition: color.h:601