DxLibEx
dxle::color::dx_color_param Class Referencefinal

#include <color.hpp>

Public Member Functions

 dx_color_param (const dx_color_param &other) DXLE_NOEXCEPT_OR_NOTHROW
 
template<typename color_t , typename enable_if< std::is_constructible< dx_color, color_t &&>::value, std::nullptr_t >::type = nullptr>
 dx_color_param (color_t &&color) DXLE_NOEXCEPT_IF((std
 
dx_color::value_type get () const DXLE_NOEXCEPT_OR_NOTHROW
 

Detailed Description

Example:

int MyDrawLine(int x1, int y1, int x2, int y2, dxle::dx_color_param Color, int Thickness = 1)
{
return DxLib::DrawLine(x1, y1, x2, y2, Color.get(), Thickness);
}

Definition at line 177 of file color.hpp.

Constructor & Destructor Documentation

§ dx_color_param() [1/2]

dxle::color::dx_color_param::dx_color_param ( const dx_color_param other)
inline

Definition at line 180 of file color.hpp.

§ dx_color_param() [2/2]

template<typename color_t , typename enable_if< std::is_constructible< dx_color, color_t &&>::value, std::nullptr_t >::type = nullptr>
dxle::color::dx_color_param::dx_color_param ( color_t &&  color)
inline

Definition at line 184 of file color.hpp.

Member Function Documentation

§ get()

dx_color::value_type dxle::color::dx_color_param::get ( ) const
inline

Definition at line 187 of file color.hpp.


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