![]() |
IDS peak ICV v1.2.0
|
#include <peak_icv/painting/peak_icv_opacity.hpp>

Public Member Functions | |
| constexpr | Opacity () |
| Constructs an Opacity object with full opacity (100). | |
| constexpr | Opacity (uint32_t value) |
| Constructs an Opacity object with the specified value. | |
| constexpr uint32_t | GetValue () const |
| template<typename Opacity > | |
| auto | operator== (const Opacity &value) const |
Static Public Member Functions | |
| static constexpr uint32_t | GetMinimum () |
| static constexpr uint32_t | GetMaximum () |
Holds an opacity value representing the transparency level of an object or pixel.
Opacity ranges from 0 to 100, where 0 indicates complete transparency and 100 indicates complete opacity. Intermediate values represent varying levels of transparency.
Definition at line 37 of file peak_icv_opacity.hpp.
|
inlineexplicitconstexpr |
Constructs an Opacity object with full opacity (100).
Definition at line 45 of file peak_icv_opacity.hpp.
|
inlineexplicitconstexpr |
Constructs an Opacity object with the specified value.
| value | Opacity value in the range [0, 100] |
| OutOfRangeException | if value is greater than 100 |
Definition at line 58 of file peak_icv_opacity.hpp.
|
inlinestaticconstexpr |
Definition at line 93 of file peak_icv_opacity.hpp.
|
inlinestaticconstexpr |
Definition at line 83 of file peak_icv_opacity.hpp.
|
inlineconstexpr |
Definition at line 109 of file peak_icv_opacity.hpp.