AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
Public 成员函数 | Public 属性 | 所有成员列表
AnyCAD::API::ColorValue类 参考

Color Value. 更多...

#include <APIMath.h>

Public 成员函数

 ColorValue ()
 
 ColorValue (float _r, float _g, float _b, float _a)
 
 ColorValue (int _r, int _g, int _b, int _a=255)
 
long AsRGB () const
 

Public 属性

float r
 
float g
 
float b
 
float a
 

详细描述

Color Value.

作者
AnyCAD

构造及析构函数说明

AnyCAD::API::ColorValue::ColorValue ( )
inline
AnyCAD::API::ColorValue::ColorValue ( float  _r,
float  _g,
float  _b,
float  _a 
)
inline
AnyCAD::API::ColorValue::ColorValue ( int  _r,
int  _g,
int  _b,
int  _a = 255 
)
inline

成员函数说明

long AnyCAD::API::ColorValue::AsRGB ( ) const
inline

类成员变量说明

float AnyCAD::API::ColorValue::a
float AnyCAD::API::ColorValue::b
float AnyCAD::API::ColorValue::g
float AnyCAD::API::ColorValue::r

该类的文档由以下文件生成: