IDS peak ICV v1.6.0
Loading...
Searching...
No Matches
DrawingOptions Class Reference

#include <peak_icv/painting/peak_icv_drawing_options.hpp>

Public Member Functions

 DrawingOptions ()=default
 Default Drawing options are red with 100% opacity.
 
constexpr Color GetColor () const
 Get the color for drawing.
 
Opacity GetOpacity () const
 Get the opacity for drawing.
 
void SetColor (const Color &color)
 Set the color for drawing.
 
void SetOpacity (const Opacity &opacity)
 Set the opacity for drawing.
 
bool operator== (const DrawingOptions &other) const
 

Detailed Description

Since
ids_peak_icv 1.1

Constructor & Destructor Documentation

◆ DrawingOptions()

DrawingOptions ( )
default

Default Drawing options are red with 100% opacity.

Since
ids_peak_icv 1.1

Member Function Documentation

◆ GetColor()

Color GetColor ( ) const
constexpr

Get the color for drawing.

Returns
The color
Since
ids_peak_icv 1.1

◆ GetOpacity()

Opacity GetOpacity ( ) const
inline

Get the opacity for drawing.

Returns
The opacity
Since
ids_peak_icv 1.1

◆ operator==()

bool operator== ( const DrawingOptions & other) const
inline

◆ SetColor()

void SetColor ( const Color & color)
inline

Set the color for drawing.

Since
ids_peak_icv 1.1

◆ SetOpacity()

void SetOpacity ( const Opacity & opacity)
inline

Set the opacity for drawing.

Since
ids_peak_icv 1.1